On 18-09-2014, at 17:18, Gang Chen <[email protected]> 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., > /Library/Frameworks/R.framework/Resources/bin/R), it does not work at > all. What could be the reason for the failure? >
This belongs on the R-SIG-Mac mailing list. 1. Are you running T in Terminal with the command "/Library/Frameworks/R.framework/Resources/bin/R”? You can use just R because /usr/bin is in PATH (or it should be). 2. Are you running R GUI with the command "/Applications/R.app/Contents/MacOS/R”? >From Terminal? if so use open -a R. 3. Most importantly: what differences are happening? Differences in PATH environment variable? ….. I just tried R GUI and R in Terminal and my ~/.Rprofile is being read by both. Berend > Thanks, > Gang > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

