[R] snow and different R versions
Gábor Csárdi
csardi.gabor at gmail.com
Fri Jan 9 15:30:18 CET 2009
Dear Luke and others,
I have many R versions on my machine and want to start a particular
one when snow builds its cluster. (The same version I start snow
from.) It seems that everything is set up correctly in
defaultClusterOptions:
> mget(ls(defaultClusterOptions), defaultClusterOptions)
$homogeneous
[1] TRUE
$manual
[1] FALSE
$master
nodename
"maya.unil.ch"
$outfile
[1] "/dev/null"
$port
[1] 10187
$rhome
R_HOME > sessionInfo()
R version 2.8.0 (2008-10-20)
x86_64-redhat-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] snow_0.3-3
"/home/gabor/software/lib64/R"
$rlibs
R_LIBS
"/usr/lib64/R/library:/usr/share/R/library"
$rprog
[1] "/home/gabor/software/lib64/R/bin/R"
$rscript
[1] "/home/gabor/software/lib64/R/bin/Rscript"
$rshcmd
[1] "ssh"
$scriptdir
[1] "/home/gabor/.R/library/snow"
$snowlib
[1] "/home/gabor/.R/library"
$timeout
[1] 31536000
$type
[1] "MPI"
$user
user
"gabor"
$useRscript
[1] TRUE
but snow still starts a different version, the one in /usr/bin/R. Is
this a bug? If not, how can I tell snow to start the same version, the
one that is listed in defaultClusterOptions?
Thanks,
Gabor
> sessionInfo()
R version 2.8.0 (2008-10-20)
x86_64-redhat-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] snow_0.3-3
--
Gabor Csardi <Gabor.Csardi at unil.ch> UNIL DGM
More information about the R-help
mailing list