我已经安装了"R版本2.13.1(2011-07-08)",而不是"Ubuntu 10.04 - Lucid Lynx".(我使用RStudio 0.94.92),编译我已安装的许多不同软件包所需的所有标头.我遇到了: install.packages("RandForestGUI").一切顺利,直到
.....
* DONE (sciplot)
ERROR: dependency ‘rgl’ is not available for package ‘clusterSim’
* removing ‘/home/rs/R/i486-pc-linux-gnu-library/2.13/clusterSim’
Warning in install.packages :
installation of package 'clusterSim' had non-zero exit status
ERROR: dependency ‘clusterSim’ is not available for package ‘RandForestGUI’
* removing ‘/home/rs/R/i486-pc-linux-gnu-library/2.13/RandForestGUI’
Warning in install.packages :
installation of package 'RandForestGUI' had non-zero exit status
Run Code Online (Sandbox Code Playgroud)
我试过:install.packages("rgl") 但是
Installing package(s) into ‘/home/rs/R/i486-pc-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
provo con l'URL 'http://rm.mirror.garr.it/mirrors/CRAN/src/contrib/rgl_0.92.798.tar.gz'
Content type 'application/x-gzip' length 1677772 bytes (1.6 Mb)
URL aperto
==================================================
downloaded 1.6 Mb
* installing *source* package ‘rgl’ ...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
….
checking for libpng-config... yes
configure: using libpng-config
configure: using libpng dynamic linkage
checking for X... no
configure: error: X11 not found but required, configure aborted.
ERROR: configuration failed for package ‘rgl’
* removing ‘/home/rs/R/i486-pc-linux-gnu-library/2.13/rgl’
Warning in install.packages :
installation of package 'rgl' had non-zero exit status
Run Code Online (Sandbox Code Playgroud)
最后我尝试了:install.packages("X11")和
Installing package(s) into ‘/home/rs/R/i486-pc-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘X11’ is not available (for R version 2.13.1)
Run Code Online (Sandbox Code Playgroud)
......被困了!
是否可以 在"R版本2.13.1(2011-07-08)"中使用RandForestGUI?非常感谢Roberto Scotti
几个必要条件:
sudo apt-get install r-base-dev,如果你还没有这样做,以配合您[R环境为本地包安装.sudo apt-get install r-cran-rgl因为这是最难的 OpenGL标题.现在再次尝试使用RForestGUI包及其他依赖项,并按包分析错误包.