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

Dirk Eddelbuettel edd at debian.org
Wed Aug 12 17:48:12 CEST 2015


On 12 August 2015 at 09:07, Duncan Murdoch wrote:
| On 12/08/2015 8:26 AM, Dirk Eddelbuettel wrote:
| > I frequently tests against all reverse dependencies against some of my
| > packages, ie Rcpp, RcppArmadillo, ... and packages using rgl generally fail
| > during these tests.

[...]
 
| 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 use options(rgl.useNULL = TRUE) within R.  That's
| no help to you, but is useful when embedding rgl plots in knitr documents.)

Next time someone complains that "whining doesn't help", I'll send them to
this thread.   Setting 

   Sys.setenv("RGL_USE_NULL"="TRUE")       # Duncan Murdoch on r-package-devel on 12 Aug 2015

works wonderfully.  I should have whined earlier ...

Thanks, Duncan!

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-package-devel mailing list