我正在尝试在T版本3.3.2上安装该软件包,但收到以下消息:
'xlsx'不可用(对于R版本3.3.2)
有没有办法推翻这个问题?
答案 0 :(得分:0)
试试这个:
install.packages('xlsx', repos='http://cran.us.r-project.org')
答案 1 :(得分:0)
我能够在R版本3.2.3中安装它而没有任何问题。
在vanilla模式下启动R后尝试安装:
$ R --vanilla
很可能会奏效。如果没有发布错误。
答案 2 :(得分:0)
关注solution
> install.packages("xlsx", repos = "http://cran.cnr.Berkeley.edu/")
also installing the dependencies ‘rJava’, ‘xlsxjars’
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/rJava_0.9-11.tar.gz'
Content type 'application/x-gzip' length 675188 bytes (659 KB)
==================================================
downloaded 659 KB
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/xlsxjars_0.6.1.tar.gz'
Content type 'application/x-gzip' length 9477071 bytes (9.0 MB)
==================================================
downloaded 9.0 MB
trying URL 'http://cran.cnr.Berkeley.edu/src/contrib/xlsx_0.6.1.tar.gz'
Content type 'application/x-gzip' length 315441 bytes (308 KB)
==================================================
downloaded 308 KB
Env:
Red Hat Enterprise Linux Server release 6.3 (Santiago)
platform x86_64-unknown-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 2.0
year 2015
month 04
day 16
svn rev 68180
language R
version.string R version 3.2.0 (2015-04-16)
nickname Full of Ingredients