如何为R 3.0.3安装xps包

时间:2014-03-23 20:51:36

标签: r bioconductor

我正在尝试从http://www.bioconductor.org/packages/release/bioc/html/xps.html安装 xps 包 适用于Windows 8.1 x64上的R 3.0.3。

当我尝试:

source("http://bioconductor.org/biocLite.R")
biocLite("xps")

我收到以下消息:

BioC_mirror: http://bioconductor.org
Using Bioconductor version 2.13 (BiocInstaller 1.12.0), R version 3.0.3.
Installing package(s) 'xps'
package ‘xps’ is available as a source package but not as a binary
Warning message:
package ‘xps’ is not available (for R version 3.0.3) 

所以我尝试通过下载xps的包源来安装 当我尝试安装它时,我收到以下消息:

* installing *source* package 'xps' ...
testing for presence of ROOT...
perl: not found
   found  of ROOT in directory C:\root\/bin...OK
** libs
  running 'src/Makefile.win' ...
Syntax error: Unterminated quoted string
Syntax error: Unterminated quoted string
g++ -pipe -mwindows  -I/include -include w32pragma.h -O2 -DWIN32 -c TMLMath.cxx
cc1plus.exe: fatal error: w32pragma.h: No such file or directory
compilation terminated.
make: *** [TMLMath.o] Error 1
Warning: running command 'make --no-print-directory -f "Makefile.win"' had status 2
ERROR: compilation failed for package 'xps'
* removing 'D:/Program Files/R/R-3.0.3/library/xps'

1 个答案:

答案 0 :(得分:0)

xps landing page表示xps不适用于64位窗口。如果你运行32位R,你将能够使用biocLite安装二进制文件。