loading rj fails on Windows (jvm.dll not found)

If the loading of the rj package fails with an error on the absence of the jvm.dll file, please add the $JRE_HOME\bin\server (e.g. C:\Program Files\Java\jre1.8.0_241\bin\server) path to the PATH environment variable of the operating system.

settings not cleaned up in R session

RPooli will reuse R nodes as many times as specified in the pool configuration After each usage a node as well as its working directory will be cleaned up, but certain changes in the environment will not be automatically restored.

Typical changes in the environment that may have unintended consequences are

  • par settings that are not restored
  • options set
  • setting .libPaths() inside the R code executed on a node