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

2009-06-19 Thread Uwe Ligges
tbigdeli wrote: My apologies for being overly brief before.. I submit an R script to batch mode as follows: a list of files (object = 'files'). In each iteration, the next file is read, alterations made, working directory changed, and output file written out. R will take an inordinate amoun

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

2009-06-19 Thread tbigdeli
My apologies for being overly brief before.. I submit an R script to batch mode as follows: a list of files (object = 'files'). In each iteration, the next file is read, alterations made, working directory changed, and output file written out. R will take an inordinate amount of time processin

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

2009-06-19 Thread Uwe Ligges
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

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

2009-06-19 Thread tbigdeli
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. Any ideas? Thanks! TB -- View this message in context: http://www.nabble.com/read.table%28%29-and-setwd%28%29-in-unix-batch-mode-tp241070