[R] Can read files at the BATCH jobs?
ken_lee
ken_lee at tynesys.com
Fri May 17 09:21:58 CEST 2002
Dear all,
I want to run a batch job, but how to get the dynamic file?
example:
If I have a.R file like
a<-function(data.file) {
read.csv(data.file)
......
}
I create r.csh in unix like
setenv R_HOME /usr/local/lib/R
R BATCH --no-save </usr/users/a.R
where I can put the data.file?
Regards
Ken
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list