Hi everyone,
we are running R on a Linux Cluster with several R versions installed in
parallel.
If I run:
library(parallel)
cl <- makePSOCKcluster(
rep('nodeX', 24),
homogeneous = FALSE,
rscript = '/usr/local/apps/R/R-3.2.2/bin/Rscript'
)
then still R-3.0.0 gets launched on nodeX. Version 3.0.0 is the default
R version, which is started when I just type R in the terminal without
any further configuration.
Cheers,
Guido
makePSOCKcluster launches different version of R
2 messages · Guido Kraemer, Martin Morgan
On 08/05/2016 12:07 PM, Guido Kraemer wrote:
Hi everyone,
we are running R on a Linux Cluster with several R versions installed in
parallel.
If I run:
library(parallel)
cl <- makePSOCKcluster(
rep('nodeX', 24),
homogeneous = FALSE,
rscript = '/usr/local/apps/R/R-3.2.2/bin/Rscript'
)
from ?makePSOCKcluster
'homogeneous' Logical. Are all the hosts running identical
setups, so 'Rscript' can be launched using the same path on
each? Otherwise 'Rscript' has to be in the default path on
the workers.
'rscript' The path to 'Rscript' on the workers, used if
'homogeneous' is true. Defaults to the full path on the
master.
so homogeneous = FALSE and rscript = ... are incompatible. From your
description it seems like you mean homogeneous = TRUE.
Martin
then still R-3.0.0 gets launched on nodeX. Version 3.0.0 is the default R version, which is started when I just type R in the terminal without any further configuration. Cheers, Guido
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.
This email message may contain legally privileged and/or...{{dropped:2}}