Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find old R packages in .zip format ?

Where can I find old R packages in .zip format ?

At CRAN for example : http://cran.r-project.org/src/contrib/Archive/shapefiles

there are only sources of .tar.gz files, I have to install old version of shapefiles because some finctions have been removed.

like image 539
Qbik Avatar asked Dec 11 '22 14:12

Qbik


2 Answers

Package sources were only ever supplied in tar.gz compressed archives. Other archives (eg .zip) were binary packages for Windows or MacOS X. CRAN doesn't keep binaries for older versions of packages nor does it keep them for Archived packages, as per its policy.

If you are looking for a pre-built binary then you will either have to build one yourself, or if you are on Windows, you could use the win-builder service to build a Windows binary for you, but you'll need to make sure you change the maintainer details so you get a response and make sure you are allowed by the licence to re-distribute the sources in the manner you are doing. Do note all the caveats on that page before submitting!

like image 170
Gavin Simpson Avatar answered Jan 01 '23 04:01

Gavin Simpson


Several CRAN mirrors keep old Windows binary versions of packages in a separate directory. See if the version appropriate for your old version of R might be here:

http://cran.cnr.berkeley.edu/bin/windows/contrib

like image 32
IRTFM Avatar answered Jan 01 '23 03:01

IRTFM