Skip to content

Rmpi and Rprofile

2 messages · Lyman, Mark, Hao Yu

#
At the top of the Rprofile file included with the Rmpi package, it
states

# Cannot be used as Rprofile.site because it will not work

Why is that? In the README file, there are instructions on how to create
an Rmpi script with R_PROFILE set to this Rprofile file. Isn't this the
same thing as using the Rprofile file as Rprofile.site?

Mark Lyman
#
If you leave R script the way it is and add loading Rmpi instructions in
Rprofile.site, it will not work (tested on old versions of R and I don't
know the reason why). However, by modifying R script, you already hack it
so it works.

Hao Yu
Lyman, Mark wrote: