我刚刚将R and R Tools从3.3升级到3.5,然后将安装包设置为3.3文件夹。我正在尝试获取似乎需要更新安装的“ Ryacas”软件包的bioClite软件包。显然,当我使用带有或不带有depen = TRUE的install.packages(“ Ryacas”)时,它表示只能将其编译为C ++,因此我让R Tools进行构建,每次都会出现此错误。
这是错误:
make: *** [C:/PROGRA~1/R/R-35~1.1/etc/i386/Makeconf:215:
yacas/src/obmalloc.o] Error 1
ERROR: compilation failed for package 'Ryacas'
* removing 'C:/Users/bjwil/OneDrive/Documents/R/R/win-library/3.3/Ryacas'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘Ryacas’ had non-zero exit status`
这是会话信息。
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods
base
other attached packages:
[1] Biobase_2.40.0 BiocGenerics_0.26.0 arules_1.6-1 Matrix_1.2-
14
loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1 rpart_4.1-13 grid_3.5.1
lattice_0.20-35
这是我的.libPaths()
[1] "C:/Users/******/OneDrive/Documents/R/R/win-library/3.3"
[2] "C:/Program Files/Microsoft/R Client/R_SERVER/library"
[3] "C:/Program Files/R/R-3.5.1/library"
我看到此人有上个月发生的此问题的日志文件。 R工具坏了吗,R吗?在R Desktop和R Studio中均会发生。 http://cran.us.r-project.org/bin/windows/contrib/3.5/check/Ryacas-check.log