インストールしようとしてpackage mvoutlier
いますが、インストール中に次のエラーが発生します。
install.packages("mvoutlier")
configure: error: missing required header GL/gl.h
ERROR: configuration failed for package ‘rgl’
* removing ‘/home/sam/R/x86_64-pc-linux-gnu-library /2.15/rgl’
ERROR: dependency ‘rgl’ is not available for package ‘compositions’
* removing ‘/home/sam/R/x86_64-pc-linux-gnu-library/2.15/compositions’
ERROR: dependency ‘compositions’ is not available for package ‘mvoutlier’
* removing ‘/home/sam/R/x86_64-pc-linux-gnu-library/2.15/mvoutlier’
その後、rglパッケージを正常にインストールし、compositionsパッケージをインストールしようとすると、同じエラーが再び発生します。次に、mvoutlierパッケージを再度インストールしようとしましたが、同じエラーが発生します。
誰かが私にこの問題を解決する方法を教えてもらえますか?よろしくお願いします。