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

发布于 2024-10-02 21:47:59 字数 163 浏览 0 评论 0原文

如标题,我想尝试 odfWeave,但是我办公室的网络非常有限,我无法访问外面的存储库,我可以做些什么来安装 odfWeave 软件包吗?

谢谢!

PS我使用的是R-portable 2.11.0,我尝试过Rtools,但它提示我找不到package XML的错误,这是不正确的

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?

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

摘星┃星的人 2024-10-09 21:47:59

如果您绝对确定安装了正确的包 XML,并且绝对确定它安装正确,那么您只需下载 odfWeave 包的源代码并从那里安装即可。您不需要 Rtools,只需执行以下操作:

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

如果/当它可用时,您可以从下载的 Windows 二进制文件进行安装,但您必须将 type 设置为“win.binary”或“win64.binary”取决于您拥有的版本。

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 :

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文