我已經安裝了「R version 2.13.1(2011-07-08)」, Ubuntu 10.04 - Lucid Lynx「。 (我使用RStudio 0.94.92),以及編譯已安裝的許多不同軟件包所需的所有頭文件。 我被卡住了:install.packages(「RandForestGUI」)。一切都順利跑了直到在「R version 2.13.1(2011-07-08)」中安裝RandForestGUI(因此'rgl','X11)錯誤
.....
* 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
我想: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
最後我想: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)
...被卡住了!
「R version 2.13.1(2011-07-08)」中可能有RandForestGUI? 非常感謝,羅伯託Scotti
哦,是的,他會的。:) –
@Dirk Eddelbuettel請您提供一個鏈接來討論Ubuntu的元數據包? – isomorphismes
@Lao Tzu這是你想要的嗎? http://cran.r-project.org/bin/linux/ubuntu/德克在他的答案中給出了一個鏈接錯字。我已經更新了它。 –