HenrikBengtsson / startup

:wrench: R package: startup - Friendly R Startup Configuration
https://henrikbengtsson.github.io/startup/
163 stars 5 forks source link

R_MAX_NUM_DLLS can be set in .Renviron (but not in .Rprofile) #38

Closed HenrikBengtsson closed 7 years ago

HenrikBengtsson commented 7 years ago

The vignette / README currently claims that R_MAX_NUM_DLLS cannot be set in .Renviron, but that is probably not correct, e.g.

$ R_MAX_NUM_DLLS=50 R
Fatal error: R_MAX_NUM_DLLS must be at least 100

$ echo "R_MAX_NUM_DLLS=50" > .Renviron
$ R
Fatal error: R_MAX_NUM_DLLS must be at least 100

$ R --vanilla --quiet
> 

It is however too late to set it in .Rprofile.