之后
install.packages("devtools")
devtools::install_github("DataComputing/DataComputing")
首先,它给出了错误消息
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error: Command failed (1)
所以,我在C:中卸载并重新安装(而不是C:programfiles),并再次尝试,现在又出现了新的错误消息
Downloading GitHub repo DataComputing/DataComputing@master
from URL https://api.github.com/repos/DataComputing/DataComputing/zipball/master
Installing DataComputing
"C:/R-32~1.3/bin/i386/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL \
C:/Users/lunar0412/AppData/Local/Temp/Rtmp8GOyFS/devtools2f0c1ba705f/DataComputing-
DataComputing-847764c" --library="C:/R-3.2.3/library" --install-tests
* installing *source* package 'DataComputing' ...
** R
Error in parse(outFile) :
invalid multibyte character in parser at line 36
ERROR: unable to collate and parse R files for package 'DataComputing'
* removing 'C:/R-3.2.3/library/DataComputing'
Error: Command failed (1)
帮助我!!怎么解决呢?
答案 0 :(得分:0)
您可以在安装软件包时检查更改CRAN镜像,有时候对我来说有一些类似的问题,由此修复了。