Hello,

I have R script my_script.R . It loads a large input file "data.txt" and
then outputs a large matrix "out". (the command of running it on cluster
using my.cmd is put at the end)

Now I have 30 different input files "data1.txt", "data2.txt" ... and
"data30.txt" and want to generate and save 30 output (matrix) files
separately, how can I achieve this by running the R-script on a linux
cluster?  (that is, to save "out1" , "out2,"  ... "out30" separately)


---------------------------------------------------------------
my.cmd
-----------------------------------------------------------------
getenv = TRUE
Executable = /usr/bin/R
Arguments = --vanilla
Universe = vanilla
input  = my_script.R
output = out
error  = err
Log    = log
Queue
--------------------------------------------------------------


Thanks!

-Steven

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to