[R] When to use RProfile.site or .Rprofile

2013-10-03 Thread jroyrobertson
I would appreciate some advice on what the preferred contents of RProfile.site vs. .Rprofile should be. A .First() function can reside in either one, but is it preferred to place it in .Rprofile? I currently use .First() in .Rprofile files placed in separate directories used for different

Re: [R] When to use RProfile.site or .Rprofile

2013-10-03 Thread Henrik Bengtsson
Unless you're trying to provide your startup settings to multiple users (typically only sysadms do this), stick with .Rprofile (in your home directory). There is no need to have one per working directory, unless they differ, cf. ?Startup [...a file called ‘.Rprofile’ is searched for in the