Re: [R-SIG-Mac] Is Yosemite now safe for most of us?

2014-12-24 Thread Hadley Wickham
Yes, the bugs have been well and truly worked out.

Hadley

On Thursday, December 25, 2014, Ralph O'Brien obrienra...@gmail.com wrote:

 The missives about running R/Rstudio under Yosemite seem to have died down.

 For the vast majority of us who are vanilla uses of the current versions
 of R and Rstudio, is Yosemite (10.10.current) now as safe as Mavericks
 (10.9.current)?

 I'm hoping a single short response from one of the R-on-Mac leaders will
 give me (and thousands more) either a green or red light at this point.

 Thanks for all the great work you do.

 Ralph O'Brien, PhD
 Retired Professor of Biostatistics
 Case Western Reserve University
 (but still keenly professionally active)
 910.553.4224; Cell: 216.312.3203

 *“Tell me and I forget, teach me and I may remember, involve me and I
 learn.”*

 *― Benjamin Franklin*

 [[alternative HTML version deleted]]

 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org javascript:;
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac



-- 
http://had.co.nz/

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Yosemite and R

2014-10-21 Thread Hadley Wickham
On Mon, Oct 20, 2014 at 4:01 PM, David Winsemius dwinsem...@comcast.net wrote:

 On Oct 20, 2014, at 8:21 AM, Hadley Wickham wrote:


 I have been running Yosemite for quite a while and didn't see any issues so 
 far. Given how little changed in Yosemite I don't expect any changes to the 
 Mavericks build at this point (i.e. Mavericks will remain the base target 
 for all recent OS X builds).

 At RStudio, we've seen one problem - the PATH is not passed along to
 sub-processes, e.g. these two functions return different values:

 Sys.getenv(PATH)
 system(echo $PATH)

 I seem to remember discussions on R-SIG-Mac that system(echo $PATH) gets 
 passed to the bash environment which is not the same as the R environment. It 
 is expected that the $PATH variable is different in the two environments.

No, it is not.  It is expected that the path in the terminal be
different to the path in R, it is _not_ expected that the path in R be
different to the path in a subprocess started by R.

(Well it is now expected, because this appears to be a new security
feature in Yosemite)

Hadley

-- 
http://had.co.nz/

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Yosemite and R

2014-10-21 Thread Hadley Wickham
 No, it is not.  It is expected that the path in the terminal be
 different to the path in R, it is _not_ expected that the path in R be
 different to the path in a subprocess started by R.

 (Well it is now expected, because this appears to be a new security
 feature in Yosemite)

The best thread I could find on the problem is here:
https://code.google.com/p/mactlmgr/issues/detail?id=102

-- 
http://had.co.nz/

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Yosemite and R

2014-10-20 Thread Hadley Wickham

 I have been running Yosemite for quite a while and didn't see any issues so 
 far. Given how little changed in Yosemite I don't expect any changes to the 
 Mavericks build at this point (i.e. Mavericks will remain the base target for 
 all recent OS X builds).

At RStudio, we've seen one problem - the PATH is not passed along to
sub-processes, e.g. these two functions return different values:

Sys.getenv(PATH)
system(echo $PATH)

This breaks Sys.which().

Hadley

-- 
http://had.co.nz/

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[R-SIG-Mac] Using X11 from the mac terminal

2011-06-06 Thread Hadley Wickham
 X11()
Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
d$colortype,  :
  unable to start device X11
In addition: Warning message:
In X11() : unable to open connection to X11 display ''

What am I doing wrong?  X11 is open, and I have

 Sys.getenv(DISPLAY)
[1] 0.0.0.0:0

I'm sure this used to work, but something has changed in the last few
months.  Any ideas?

Thanks!

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] Using X11 from the mac terminal

2011-06-06 Thread Hadley Wickham
Ah, that seems to be the problem - thanks!
Hadley

On Mon, Jun 6, 2011 at 7:14 PM, Simon Urbanek
simon.urba...@r-project.org wrote:
 If you are like me and absolutely hate the Apple auto-X11 setting and 
 disabled it then something like
 X11(:0.0)
 should work *after* you start X11. If in doubt, open the xterm and look at
 echo $DISPLAY
 sometimes it may be something like :2 instead (it depends on your other X11 
 processes, weather and the constellation of stars...)

 Cheers,
 Simon



 On Jun 6, 2011, at 10:07 PM, Ben Madin wrote:

 Hadley,

 I get the same result as Duncan, sessionInfo() attached:

 X11()
 Sys.getenv(DISPLAY)
 [1] /tmp/launch-00BR0w/org.x:0
 sessionInfo()
 R version 2.13.0 Patched (2011-05-26 r55996)
 Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

 locale:
 [1] en_AU.UTF-8/en_AU.UTF-8/C/C/en_AU.UTF-8/en_AU.UTF-8

 attached base packages:
 [1] stats     graphics  grDevices utils     datasets  methods   base

 And X11

 XQuartz 2.3.6 (xorg-server 1.4.2-apple56)


 cheers

 Ben






 On 07/06/2011, at 9:10 AM, Duncan Murdoch wrote:

 On 11-06-06 6:56 PM, Hadley Wickham wrote:
 X11()
 Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma,
 d$colortype,  :
  unable to start device X11
 In addition: Warning message:
 In X11() : unable to open connection to X11 display ''

 What am I doing wrong?  X11 is open, and I have

 Sys.getenv(DISPLAY)
 [1] 0.0.0.0:0

 I'm sure this used to work, but something has changed in the last few
 months.  Any ideas?

 I'm on a Mac right now that works, but it shows

 X11()
 Sys.getenv(DISPLAY)
 [1] /tmp/launch-OjzUQo/org.x:0

 Duncan Murdoch

 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac



 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac




-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac