Re: [R-SIG-Mac] Failure of CLI with .Rprofile on Mac OS X

2014-09-21 Thread peter dalgaard
On 21 Sep 2014, at 01:25 , David Winsemius dwinsem...@comcast.net wrote: Peter; Do you know whether the PWD value in the result from Sys.getenv() is supposed to point at the working directory of R started from the command line? -- David. Yes, that's standard Unix shell behavior:

Re: [R-SIG-Mac] Failure of CLI with .Rprofile on Mac OS X

2014-09-21 Thread Prof Brian Ripley
On 21/09/2014 00:25, David Winsemius wrote: On Sep 20, 2014, at 2:15 PM, peter dalgaard wrote: Notice that we have a similar, but unresolved, bug report a month old. https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15940 I assume that the obvious things like a .Rprofile in the current

Re: [R-SIG-Mac] Failure of CLI with .Rprofile on Mac OS X

2014-09-21 Thread Chen, Gang (NIH/NIMH) [C]
Thanks all for chiming in! Just tried the following: 1) HOME set incorrectly 2) $HOME or $HOME/.Rprofile not readable according to permissions and ownership of R binary ls -l $HOME/.Rprofile -rw-r--r-- 1 gangc admin 17 Sep 21 07:10 /Users/gangc/.Rprofile 3) path length overflow Less