install.packages R on Ubuntu 12.04 downloads but does not install packages

后端 未结 3 1648
醉梦人生
醉梦人生 2020-12-07 01:12

I\'m perplexed. I\'ve done this process a dozen times and never had this issue.

I installed the latest version of R for Ubuntu

I enter R, no issues at all,

3条回答
  •  臣服心动
    2020-12-07 01:42

    Look at the last lines:

    The downloaded source packages are in
        ‘/tmp/RtmpoPUAFL/downloaded_packages’
    

    You have to go to the directory /tmp/RtmpoPUAFL/downloaded_packages (cd ...) and then install them manualy in the order that is pointed out above. So

    R CMD INSTALL colorspace_1.2-4.tar.gz
    R CMD INSTALL stringr_0.6.2.tar.gz
    R CMD INSTALL ggplot2_0.9.3.1.tar.gz
    

    Then trylibrary(ggplot2) now it should work

    I have no idea why you have to do this sometimes... I anyone knows i am happy to learn it as well.

提交回复
热议问题