我班上有一个学生在安装 bitbucket 上的课程 R 包时遇到问题。他运行的是 64 位的 Windows 版本 8。我尝试使用 RStudio|Tools|Install Packages 直接从包 tar 球安装并得到相同的错误。他没有安装 Rtools,但我不明白这与此有何关系。
似乎 R CMD install 正在创建一个包含其中的批处理文件,C:\Program Files ...
并且空间导致问题。
任何建议将不胜感激。
普罗西
> install_bitbucket("DataAnalyticsV1.0.0","perossichi")
Installing bitbucket repo(s) DataAnalyticsV1.0.0/master from perossichi
Downloading master.zip from https://bitbucket.org/perossichi/dataanalyticsv1.0.0/get/master.zip
Installing package from C:\Users\crist_000\AppData\Local\Temp\Rtmp6daA6F/master.zip
Installing DataAnalytics
"C:/Program Files/R/R-3.0.2/bin/x64/R" --vanilla CMD INSTALL \
"C:\Users\crist_000\AppData\Local\Temp\Rtmp6daA6F\devtools49e4748d6bfe\perossichi- dataanalyticsv1.0.0-84a47dab91db" \
--library="C:/Users/crist_000/Documents/R/win-library/3.0" --install-tests
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error: Command failed (1)
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=Spanish_Chile.1252 LC_CTYPE=Spanish_Chile.1252
[3] LC_MONETARY=Spanish_Chile.1252 LC_NUMERIC=C
[5] LC_TIME=Spanish_Chile.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] devtools_1.4.1
loaded via a namespace (and not attached):
[1] digest_0.6.4 evaluate_0.5.1 httr_0.2 memoise_0.1 parallel_3.0.2
[6] RCurl_1.95-4.1 stringr_0.6.2 tools_3.0.2 whisker_0.3-2