I am attempting to connect to an Oracle database, extract my data and put it into a flat file on R. The table has ~ 16 million rows with 25 columns. There are many strings in some of these columns. I am using the RODBC and ETLUtils package in R.
Here is my code:
test<-read.odbc.ffdf(query="select * from meta",
odbcConnect.args=list(dsn="XX", uid="xxxxxxxxxxxxxx", pwd="xxxxxxxxxxxxxxx"),
test=test,VERBOSE=TRUE)
After I run this I am getting the following error:
read.odbc.ffdf 1.. () odbc-read=0sec
Error in if (nrow(dat) == 0) { : argument is of length zero
I'm not sure how to get around this.