How do I install the R package rgl on Ubuntu 9.10, using R version 2.12.1?

后端 未结 3 855
广开言路
广开言路 2020-12-14 12:28

I\'m trying to install the R package rgl on Ubuntu 9.10. I\'m using R version 2.12.1.

I got the following error: \"configure: error: missing required header GL/gl.h\

3条回答
  •  -上瘾入骨i
    2020-12-14 13:14

    I had to deal with this problem many times, and this always worked just fine: type in a terminal

    sudo apt-get install libglu1-mesa-dev
    

    After this I just start R and install the rgl package with the install.packages function

提交回复
热议问题