尝试在 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**