我在Windows系统中安装源包失败了。我已经安装了Rtools,以便根据以下链接提供的讨论安装源包:http://r.789695.n4.nabble.com/Installing-a-Package-tar-gz-in-windows-td3411393.html。顺便说一句,只安装Rtools是好的,不是吗?我需要运行Rtools吗? (PS:adapt_1.0-4.tar.gz放在R工作目录中)
> install.packages("adapt_1.0-4.tar.gz", type="source", repos=NULL)
* installing *source* package 'adapt' ...
** Creating default NAMESPACE file
** libs
ERROR: compilation failed for package 'adapt'
* removing 'C:/Program Files/R/R-2.15.2/library/adapt'
warning:
1: running command'C:/PROGRA~1/R/R-215~1.2/bin/i386/R CMD INSTALL -l "C:/Program Files/R/R-2.15.2/library" "adapt_1.0-4.tar.gz"'had
status 1
2: In install.packages("adapt_1.0-4.tar.gz", type = "source", repos = NULL) :
installation of package ‘adapt_1.0-4.tar.gz’ had non-zero exit status
任何建议都将不胜感激。
答案 0 :(得分:0)