From richierocks at gmail.com  Tue May 13 15:00:08 2014
From: richierocks at gmail.com (Richard Cotton)
Date: Tue, 13 May 2014 16:00:08 +0300
Subject: [Rd] --vanilla option for creating cluster nodes
Message-ID: <CAPp_+=e9WEpFbniZJd5CBN526o9ANa1RqA1yrFyJm+HkiqtZ7g@mail.gmail.com>

When a PSOCK cluster (maybe other cluster types too) is created by the
parallel package, an Rscript process is spawned for each node.  At
least by default, the Rprofile.site file is read for each node that is
created, which can constitute the majority of the time to create a
cluster.  See:

http://stackoverflow.com/q/23540129/134830

Is there a way to create nodes using the --vanilla argument, so that
Rprofile doesn't get read?

Alternatively, is there a way to persuade R to only read the file
once?  It seems inefficient to do the same thing four times.



[Rd] --vanilla option for creating cluster nodes
Richard Cotton