Does anyone use R rgl package (version 0.95.1201) in Rstudio (Version 0.99.489)? Every time I call library(rgl), Rstudio crashes.
library(rgl)
Update
I had the exact same problem.
You have to set the environment variable:
LIBGL_ALWAYS_SOFTWARE=1
In R, the command is:
Sys.setenv(LIBGL_ALWAYS_SOFTWARE=1)
It should work now.