Errors installing plyr / rcpp

后端 未结 4 1170
难免孤独
难免孤独 2021-02-15 12:59

I have two computers and in one of them I can\'t manage to install the plyr package for R. This is the error I get:

* installing *source* package ‘plyr’ ...
** p         


        
4条回答
  •  春和景丽
    2021-02-15 13:54

    Got it!

    The solution in my case was:

    First, update R:

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
    sudo sh -c "echo 'deb http://streaming.stat.iastate.edu/CRAN/bin/linux/ubuntu quantal/' >>  /etc/apt/sources.list" 
    sudo apt-get update 
    sudo apt-get install r-base r-base-dev
    

    Then install codetools package from R:

    install.packages("codetools")
    

    After this, the installation of plyr went smoothly.

提交回复
热议问题