On 22/11/2015 11:56 PM, Margarette Bayron Arcelay via R-help wrote:
Dear List,
Im using Rstudio on a macbook pro OS X Yosemite version 10.10.5 and im
trying to
open the package geomorph but a warning message related to rgl shows up.
library(geomorph)
Loading required package: rgl
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: In fun(libname, pkgname) : error in rgl_init
I have already installed X11 but this message keeps showing up.
Does somebody knows what to do?
It may be that you need to re-install XQuartz. If that doesn't work,
you can suppress its use.
If you run this before the library call:
options(rgl.useNULL = TRUE)
then rgl won't try to open your X11 display, and the error shouldn't
happen. (You won't be able to see output in X11 either.)
Duncan Murdoch
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.