Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201919

RGui loads outdated .Rprofile due to .RData in working directory

$
0
0

I recently adapted my .Rprofile and was puzzled when RGui did not load the new .Rprofile (RStudio did load it) but instead held on to the old version. After some trial and error I figured out that the .RData-file in the working directory was the reason for that and after deleting it RGui was using the new .Rprofile.

I was wondering why this happens as I was not aware that .RData does save a copy of .Rprofile that dominated the new .Rprofile stored in the working directory. ?Startup suggests that R first searches for .Rprofile and then loads the user workspace from .RData.


Viewing all articles
Browse latest Browse all 201919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>