我正在尝试从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'