[R] Using the Sun Grid Engine with R-3.0

Hubert Rehrauer Hubert.Rehrauer at fgcz.ethz.ch
Wed May 8 15:39:02 CEST 2013


Dear all

In previous R versions I ran R jobs on our cluster managed by SUN Grid 
Engine using the Rsge package. With the R-3.0 release, the package Rsge 
has been discontinued. What would be the equivalent way of running jobs 
on the cluster using current packages?

I understand that the parallel package has been updated. What would be 
the equivalent to the lines below:

require(Rsge)
sge.options("sge.qsub.options"="-cwd -q GT -pe smp 8 -l C=2")
sge.options("sge.save.global"=TRUE)
sge.options("sge.remove.files"=TRUE)

jobList = list( ....)
myJobFunc  = function(x) {....}
result = sge.parLapply(jobList, myJobFunc, njobs=length(jobList))

Many thanks
Hubert Rehrauer



More information about the R-help mailing list