Installing older version of R package

前端 未结 7 1673
梦毁少年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:46

    Using install.packages as described in another answer does not work for me.

    The best alternative I found is to use function install_url from package devtools.

    Another possibility that I have not explored further:

    1. Download the older .tar.gz source file from the package archives.
    2. Follow the steps documented on http://rtm.wustl.edu/writings/htrtargz.pdf to install it locally.

提交回复
热议问题