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.