David - the startup directory for Terminal.app shouldn't affect where R
looks for .Rprofile. If R is started from the command line, it should
look in whatever is the user's current directory (which will be ~/ if
Terminal was just launched), and then ~/ . It shouldn't be looking in
Thanks for the help, Amos!
The only reason that *should* happen is if there's an .Rprofile in the
directory you're in when you start R.
There is only one .Rprofil, which is in my home directory ~/
Where *exactly* is the .Rprofile file you want loaded
The only one is in my home directory.
Good point. I see the behavior you describe.
Sent from my iPhone
On Sep 19, 2014, at 1:18 AM, Amos B. Elberg amos.elb...@gmail.com wrote:
David - the startup directory for Terminal.app shouldn't affect where R looks
for .Rprofile. If R is started from the command line, it should look in
On 18-09-2014, at 17:18, Gang Chen gangch...@gmail.com wrote:
When R starts in GUI (e.g.,/Library/Frameworks/R.framework/Resources/bin/R) on
my Mac OS X 10.7.5, the startup configuration in .Rprofile works fine.
However, when R starts on the terminal (e.g.,
When R starts in GUI (e.g., /Applications/R.app/Contents/MacOS/R) on
my Mac OS X 10.7.5, the startup configuration in .Rprofile works fine.
However, when R starts on the terminal (e.g.,
/Library/Frameworks/R.framework/Resources/bin/R), it does not work at
all. What could be the reason for the
The only reason that *should* happen is if there's an .Rprofile in the
directory you're in when you start R.
Where *exactly* is the .Rprofile file you want loaded, what directory are you
starting from, and what does R say is the user's home directory? Did you make
*any* changes to
Dear Gang Chen;
The .Rprofile is loaded from the startup directory. Terminal.app will
start up in /Applications/ while your R.app session appears to be
starting in a different directory. (We don't know what your startup
directories are.) I'm using R.app in /Applications/ so my .Rprofile
7 matches
Mail list logo