Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

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
328 views