Ff on server ... read.table.ffdf "cannot change working directory"

It might be something simple, but I'm looking for a LOT and cannot find how to fix it.

I use Rstudio 2.15.1 on the server, because we use large data sets, and on the server there is more bar to handle this. I want to download a csv file using

x <- read.csv.ffdf(file=file.path(getwd(),"test.csv")) 

from the "ff" package, and it works fine on the PC, but on the server I get a message

Error in setwd (dfile): cannot change working directory

Does anyone know how I can fix this?

+4
source share
1 answer

I think this should do where ff stores ff files. It stores these files in getOption ("fftempdir"). Do you have access to this directory? Perhaps your permissions on the server do not allow you to have access to this folder? In this case, set the parameters (fftempdir = "path / to / your / folder") to the folder in which you have access.

+11
source

All Articles