[R] Running R on a cluster

Rainer M Krug r.m.krug at gmail.com
Thu Jun 28 09:57:09 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27/06/12 22:02, Xuefeng Gao wrote:
> 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)

You will get much more help, if you

1) post on the hpc mailing list (r-sig-hpc) and
2) give more info, specifically which cluster software and scheduler is used.

I would suggest to add this info and repost to the r-sig-hpc mailing list.

Cheers,

Rainer

> 
> 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]]
> 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/sDlUACgkQoYgNqgF2egqAAQCeLJblTN3lNhXa2a+LomoV3j7S
DIwAoIsYsHu0TO4UJEr8sMSfEhiUdsPq
=bBtm
-----END PGP SIGNATURE-----



More information about the R-help mailing list