Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

dbWriteTable works differently in rqScript and RStudio

3631507Feb 7 2019 — edited Apr 5 2019

I want to write consecutive data frames to an Oracle table in a single rqScript like such

dbWriteTable(conn,"dbTable",data.frame1,append=TRUE)

dbWriteTable(conn,"dbTable",data.frame2,append=TRUE)

dbWriteTable(conn,"dbTable",data.frame3,append=TRUE)

When run in RStudio, all the data frames write as coded. Within a rqScript, only data.frame1 gets written even if the statements are kept separate. Has anyone encountered the same and know how to solve this?

Thanks in advance.

Comments
Post Details
Added on Feb 7 2019
6 comments
536 views