Github user redbaron commented on the pull request:
https://github.com/apache/spark/pull/5096#issuecomment-85612736
@oscaroboto, @davies I am working on integrating sparkR into our workflow +
integrating it with packrat.
To make things smooth, I had to drop custom .Rprofile which sets necessary
options to limit CPU and RAM (drop Rscript override into /usr/local/bin which
call real Rscript but ignoring any --vanilla option passed sparkR, otherwise
your custom .Rprofile won't be loaded).
Unfortunately there is no standard way for R to limit CPUs as any library
can use multithreading as it pleases. Currently I set mc.cores for mcapply and
OMP_NUM_THREADS for OpenBLAS to match executor cores.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]