Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-08-16 Thread Dr Gregory Jefferis
Dear Duncan, On 12 Aug 2015, at 14:07, Duncan Murdoch wrote: A while ago I added support in rgl to run on headless machines. Set the environment variable RGL_USE_NULL=TRUE before loading rgl, and should never try to call X11 (or whatever graphics system you're using). (It's also possible to u

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-08-16 Thread Duncan Murdoch
On 16/08/2015 8:47 AM, Dr Gregory Jefferis wrote: > Dear Duncan, > > On 12 Aug 2015, at 14:07, Duncan Murdoch wrote: > >> A while ago I added support in rgl to run on headless machines. Set >> the >> environment variable RGL_USE_NULL=TRUE before loading rgl, and should >> never try to call X11

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-08-16 Thread Dr Gregory Jefferis
On 12 Aug 2015, at 23:30, Søren Havelund Welling wrote: I placed in top of all test scripts: if(!interactive()) Sys.setenv(RGL_USE_NULL=TRUE) #disable RGL for headless machines System environment variables are inherited, so I think you should be able to do this once in your master test scrip