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.

有帮助吗?

解决方案

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!

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top