当尝试在R中安装软件包“ rChart”时,出现以下错误消息:
**Installation failed: cannot change working directory**
有人建议我在“ rChart”之前安装“ Rcpp”。所以我照做了。但是,以前还是一样。
> install_github("saurfang/rCharts", ref = "utf8-writelines")
Downloading GitHub repo saurfang/rCharts@utf8-writelines
from URL https://api.github.com/repos/saurfang/rCharts/zipball/utf8-writelines
Installing rCharts
"C:/PROGRA~1/R/R-34~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \
"C:/Users/Administrator/AppData/Local/Temp/RtmpCYR9NS/devtools246c28fe1bc3/saurfang-rCharts-e0106ed" \
--library="C:/Users/Administrator/Documents/R/win-library/3.4" --install-tests
**Installation failed: cannot change working directory**
您有没有解决这个问题?我遇到了同样的问题。