rprofile.site not respected
See original GitHub issueWhen opening up an R terminal the settings specified in the Rprofile.site is not respected. For example i specify .libpaths(), in my Rprofile.site, but now when i call on .libpaths() the newly specified library path is no longer there.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Rprofile.site not found by R on Startup in macos - Stack Overflow
site lives in the home directory as /etc/Rprofile.site. I checked the home directory using R.home(component="home") and got "/Library/Frameworks ...
Read more >Tinn-R overrides Rprofile.site settings - SourceForge
On startup, Tinn-R generates tmp/sgInfo.R, which it seems to do after reading Rprofile.site, so some of my preferred settings get ...
Read more >R not reading Rprofile.site at startup - Super User
R wouldn't read the .Rprofile in my home directory. My solution was to go to /usr/lib/R/etc and create a softlink there: ...
Read more >How to check that R Profile is being run when R is started?
One idea: you could set a variable to the global environment in your . Rprofile script, then check for that variable's existence. (Or...
Read more >Initialization at Start of an R Session - R
If this variable is unset, the default is ' R_HOME /etc/Rprofile.site', which is used if it exists (which it does not in a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The problem is caused by the default config:
You should remove
--no-site-fileand reload vscode and the R terminal you create should automatically source yourRprofile.sitefirst.I would be happy with removing
—no-site-filefrom the default.