我在安装软件包时经常遇到问题,通常如下所示:
> install.packages("Biobase")
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages("Biobase") :
'lib = "/usr/local/lib/R/site-library"' is not writable
Would you like to create a personal library
~/R/x86_64-pc-linux-gnu-library/2.15
to install packages into? (y/n) y
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
package ‘Biobase’ is not available (for R version 2.15.0)
我Sys.info()
的如下:
> Sys.info()
sysname
"Linux"
release
"2.6.32-40-server"
version
"#87-Ubuntu SMP Tue Mar 6 02:10:02 UTC 2012"
nodename
"******"
machine
"x86_64"
login
"**"
user
"**"
effective_user
"**"
错误是package ‘Biobase’ is not available (for R version 2.15.0)
因为我必须将它安装在个人库中(显然在我工作的服务器上,通常的库不可写)?我该如何解决这个问题,因为每当我尝试安装软件包时,我似乎都会遇到相同的“不适用于 2.15”错误。