Question

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.

Was it helpful?

Solution

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!

OTHER TIPS

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

Old R CRAN binary files for Windows (in fact all files on CRAN) for specific dates are available from the Microsoft Time Machine for CRAN: https://mran.microsoft.com/timemachine

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top