在R 3.2.2上安装本地包失败
在我的自定义R版本上安装旧版本的插入符号是一个负担。 我尝试使用RStudio安装工具,但失败了 我试过命令:在R 3.2.2上安装本地包失败,r,r-package,R,R Package,在我的自定义R版本上安装旧版本的插入符号是一个负担。 我尝试使用RStudio安装工具,但失败了 我试过命令: pathToFile <- "C:/Users/Fsociety/Desktop/caret_5.17-7.tar" install.packages(pathToFile,repos = NULL, type = "source") install.package有什么问题我可以解决吗 您是如何生成文件的?@Roland我想这可能是OP提到的“Rstudio安装工具”。我不得
pathToFile <- "C:/Users/Fsociety/Desktop/caret_5.17-7.tar"
install.packages(pathToFile,repos = NULL, type = "source")
install.package有什么问题我可以解决吗 您是如何生成文件的?@Roland我想这可能是OP提到的“Rstudio安装工具”。我不得不在最后添加.gz,但用于安装软件包的C文件的编译一直失败<代码>警告:运行命令“make-f”C:/PROGRA~1/RRO/RRO-32~1.0/R-32~1.2/etc/x64/Makeconf“-f”C:/PROGRA~1/RRO/RRO-32~1.0/R-32~1.2/share/make/winshlib.mk”SHLIB=“caret.dll”WIN=64 TCLBIN=64 OBJECTS=“caret.o”'had status 127错误:程序包'caret'的编译失败*删除'C:/Users/Fsociety/Documents/R/win library/3.2/caret'@RomanLuštrik否,我相信这是RStudio“程序包”窗格中的“安装”按钮。
Warning: invalid package 'C:/Users/Fsociety/Desktop/caret_5.17-7.tar'
Error: ERROR: no packages specified
Warning in install.packages :
running command '"C:/PROGRA~1/RRO/RRO-32~1.0/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\Fsociety\Documents\R\win-library\3.2" "C:/Users/Fsociety/Desktop/caret_5.17-7.tar"' had status 1
Warning in install.packages :
installation of package ‘C:/Users/Fsociety/Desktop/caret_5.17-7.tar’ had non-zero exit status