[R] re ad.table() and setwd() in unix batch mode

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Jun 19 17:02:06 CEST 2009



tbigdeli wrote:
> I continually receive the error
> 
> Error in file(file, "r") : cannot open the connection, when running in batch
> mode, but not when inputing directly into R. 

Have you given the full path name?
If not, do you start both R instances from the same working directory?

Otherwise, do you have the same credentials in both cases?

Uwe Ligges





> 
> Any ideas?
> 
> Thanks!
> 
> TB




More information about the R-help mailing list