[英]Can we install a `.zip` R package under linux?
I have found an old R
package with a .zip
extension on my PC. 我在PC上找到了一个带有
.zip
扩展名的旧R
包。 I would like to run it, but I do not have the tar.gz
that was used to create it and I use linux. 我想运行它,但是我没有用于创建它的
tar.gz
,而是使用linux。 What are my options? 我有什么选择?
Few, essentially. 本质上很少。
A .zip
package for R is almost surely a binary built for Windows so you need to find a suitable Windows computer -- or emulator -- to use it. 用于R的
.zip
软件包几乎肯定是为Windows构建的二进制文件,因此您需要找到合适的Windows计算机(或仿真器)来使用它。
So, this can be done this way: 因此,可以通过以下方式完成此操作:
wine
(wine is not an emulator), wine
(葡萄酒不是模拟器), R
for Windows
, which you download manually from CRAN
Windows
R
,您可以从CRAN
手动下载 install.packages("filename.zip",source=NULL)
). install.packages("filename.zip",source=NULL)
)安装zip软件包。 You will probably get error messages for the dependencies, but incrementally installing those, it should work.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.