I would like to know how I can solve the following problem. I've got a table in postgreSQL with 100million of rows and 4 columns that I would like to use in R using ffdf. Here's my code
query <- "select * from ratings"
drv <- dbDriver("PostgreSQL")
rating.ff <- read.dbi.ffdf(query = query,
dbConnect.args=list(drv,user="postgres",
password="mypassword"),
verbose = TRUE)
I get the following error:
Error en postgresqlExecStatement(conn, statement, ...) :
RS-DBI driver: (could not Retrieve the result :
out of memory for query result)
Could someone help me solving this?