Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

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.

How do I go about installing the package?

(in case it matters, the package is AnomalyDetection)

like image 880
Michal Avatar asked Nov 10 '22 18:11

Michal


1 Answers

You do not need a md5 file. You can create the .tar.gz on another machine and import it.

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.

like image 62
Dirk Eddelbuettel Avatar answered Nov 15 '22 07:11

Dirk Eddelbuettel