Installing older version of R package

前端 未结 7 1551
梦毁少年i
梦毁少年i 2020-11-22 11:06

I am trying to use Rpy2 and ggplot2 but I get an error. After some searching for the error online, I found that the error occurs because there are changes in the ggplot2 pac

7条回答
  •  长情又很酷
    2020-11-22 11:58

    There is a versions package that simplifies this task considerably, for package versions released since 2014-09-17. It uses snapshots of the MRAN server at Revolution Analytics to:

    • show release dates and MRAN availability of any CRAN package (available.versions),

    • install specified versions of one or more packages(install.versions), or

    • install package versions available as of any specified date (install.dates). It does the installation from the MRAN server via the standard install.packages function, so available binary versions can be installed instead of having to compile from source, and package dependencies as of the specified date can be included.

    There might of course be compatibility issues with combinations of package versions and R versions. For running different R versions, see for example this page.

提交回复
热议问题