简体   繁体   English

从没有devtools的github安装R包(由于防火墙)

[英]Install R package from github without devtools (due to firewall)

I am not able to use devtools to install R packages from github since I have a firewall that prevents R from connecting to the internet. 我无法使用devtools从github安装R软件包,因为我有防火墙阻止R连接到互联网。

I thought of making a .tar.gz file from the git repository but the problem is that the repository does not contain an MD5 file and I am afraid that the installation will fail without it. 我想过从git存储库创建一个.tar.gz文件,但问题是存储库不包含MD5文件,我担心安装会在没有它的情况下失败。

How do I go about installing the package? 我该如何安装包?

(in case it matters, the package is AnomalyDetection) (如果重要,包是AnomalyDetection)

You do not need a md5 file. 您不需要md5文件。 You can create the .tar.gz on another machine and import it. 您可以在另一台计算机上创建.tar.gz并导入它。

This may of course still violate your company's (somewhat obnoxious) security protocol because the intent of the block presumably is to prevent you from installing third-party software in the first place. 这当然可能违反了贵公司(有点讨厌)的安全协议,因为该块的意图可能是为了防止您首先安装第三方软件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM