Skip to content
Prev 397744 / 398500 Next

4.5.0 | update/install BH

I'm puzzled. It doesn't seem to take long on MacOS, neither under 4.3.x. or 4.5.0. 

The tarballs for BH are like 14 MB and the Windows .zip is 21 MB, which is large, but not that large? 

I'm somewhat suspicious about the "package updating" techniques that some people seeme to be using. It sounds like you are copying package directories from an older version, then using update.packages(). A number of things could go wrong if you do that across an API change.

At the very least, you need update.packages(checkBuilt=TRUE) (and probably you also want ask=FALSE), but I would prefer a safer strategy of just installing what that you need into a fresh install of R. I.e. something like this:

In the old R do
Install new version, then
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://cloud.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.5/abind_1.4-8.tgz'
trying URL 'https://cloud.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.5/ada_2.0-5.tgz'
tryi.......
......ng URL 'https://cloud.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.5/zoo_1.8-14.tgz'

The downloaded binary packages are in
	/var/folders/h0/hzzhnnfd1gx7399sx_cwlhpw0000gn/T//RtmpQDl3Tj/downloaded_packages
   user  system elapsed 
  4.574   5.235  33.213 
Warning message:
package ?fEcofin? is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
[1] 252

(most of the time was spent waiting for XQuartz and Tcl/Tk to fire up so that I could choose the CRAN mirror.)


Actually, BH was not on the list, but
trying URL 'https://cloud.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.5/BH_1.87.0-1.tgz'
Content type 'application/x-gzip' length 13900146 bytes (13.3 MB)
==================================================
downloaded 13.3 MB


The downloaded binary packages are in
	/var/folders/h0/hzzhnnfd1gx7399sx_cwlhpw0000gn/T//RtmpQDl3Tj/downloaded_packages
   user  system elapsed 
  1.054   2.340   5.091 

-pd