Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation of R-package "BH" not possible

I cannot install the R-package BH which I need only to install dplyr afterwards.

The download works but something is wrong with the processing afterwards, as there is no reaction or progress whatsoever. Installation of lubridate (and deinstallation of lubridate) in contrast worked smoothly without any problems.

My output is:

> install.packages("BH")
Installing package into ‘.../R/win-library/3.2’
(as ‘lib’ is unspecified)
versuche URL 'http://cran.univ-paris1.fr/bin/windows/contrib
/3.2/BH_1.58.0-1.zip'
Content type 'application/zip' length 13846684 bytes (13.2 MB)
downloaded 13.2 MB

and then nothing happens.

Any ideas what could be causing this behavior? Are there any prerequisites for the installation of BH?

> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252   
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C                   
[5] LC_TIME=German_Germany.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base   
like image 410
mondano Avatar asked Jul 07 '15 14:07

mondano


1 Answers

BH, as a sizeable subset of Boost Headers is big, as in really big:

edd@max:~$ du -csm /usr/local/lib/R/site-library/BH/
111     /usr/local/lib/R/site-library/BH/
111     total
edd@max:~$ 

That is 111 megabytes.

You may simply have run our of patience if your Windows (network share ?) was slow in writing the files.

BH is also widely used by other CRAN packages, and there has not been a package on any of the platforms used by CRAN.

So I suggest you maybe place your R package library onto a local hard drive...

If you have an actual bug report, please consider filing an issue ticket against our BH package.

like image 120
Dirk Eddelbuettel Avatar answered Oct 07 '22 17:10

Dirk Eddelbuettel