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"
Edit: My original question did not specify that the operating system must be Ubuntu 9.10. I gather that otherwise it would be a good idea to update R, but that this cannot be done on Ubuntu 9.10. Because I'm stupid, I posted a new question instead of editing this one, so some discussion has occurred there.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With