在离线环境中将odfWeave安装到R.

时间:2021-08-31 14:22:21

as title, I want to try odfWeave, but the network in my office is so restricted that I can't access the repos outside, is there anything I can do to install the odfWeave package?

作为标题,我想尝试odfWeave,但我办公室的网络是如此受限制,我无法访问外面的回购,我有什么办法安装odfWeave包?

Thanks!

谢谢!

P.S. I am using R-portable 2.11.0, I have tried Rtools but it prompt me with an error of package XML not found, which is not true

附:我正在使用R-portable 2.11.0,我试过Rtools但是它提示我发现包XML没有找到错误,这不是真的

1 个解决方案

#1


1  

If you're absolutely sure that you have the correct package XML installed, and you're absolutely sure it's installed correctly, then you can just download the source of the odfWeave package and install from there. You don't need Rtools for that, just do :

如果您完全确定安装了正确的软件包XML,并且您确信它已正确安装,那么您只需下载odfWeave软件包的源代码并从那里安装即可。你不需要Rtools,只需:

install.packages(
    c("path/to/file/odfWeave_x.x.xx.tar.gz",
    repos = NULL,
    type="source"
)

If / when it becomes available, you could install from the downloaded binary for windows, but then you have to set type to "win.binary" or "win64.binary" depending on the version you have.

如果/当它可用时,你可以从下载的二进制文件中安装windows,但是你必须根据你拥有的版本将类型设置为“win.binary”或“win64.binary”。

#1


1  

If you're absolutely sure that you have the correct package XML installed, and you're absolutely sure it's installed correctly, then you can just download the source of the odfWeave package and install from there. You don't need Rtools for that, just do :

如果您完全确定安装了正确的软件包XML,并且您确信它已正确安装,那么您只需下载odfWeave软件包的源代码并从那里安装即可。你不需要Rtools,只需:

install.packages(
    c("path/to/file/odfWeave_x.x.xx.tar.gz",
    repos = NULL,
    type="source"
)

If / when it becomes available, you could install from the downloaded binary for windows, but then you have to set type to "win.binary" or "win64.binary" depending on the version you have.

如果/当它可用时,你可以从下载的二进制文件中安装windows,但是你必须根据你拥有的版本将类型设置为“win.binary”或“win64.binary”。