如何在 Windows 中安装存档的软件包?
http://cran.r-project.org/src/contrib/Archive/
当我尝试安装从存档下载的 tar.gz 时,出现以下错误:
Error in gzfile(file, "r") : cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In gzfile(file, "r") :
cannot open compressed file 'grasp_2.5-7.tar.gz/DESCRIPTION', probable reason 'No such file or directory'
你可以试试这个功能install_version
in devtools
。假设您要安装 0.8 版本ggplot2
,你可以将其称为install_version('ggplot2', '0.8')
。如果您使用的是 Windows,则可以按照说明进行操作here从源代码构建包。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)