R rgl Package crashes Rstudio

前端 未结 1 1829
遥遥无期
遥遥无期 2021-01-21 03:23

Does anyone use R rgl package (version 0.95.1201) in Rstudio (Version 0.99.489)? Every time I call library(rgl), Rstudio crashes.

Update

1条回答
  •  粉色の甜心
    2021-01-21 03:56

    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.

    0 讨论(0)
提交回复
热议问题