Error when running library(ggplot2)

后端 未结 4 1102
花落未央
花落未央 2021-01-31 15:44

I just updated to R 2.11.1 and after installing ggplot2, I tried

library(ggplot2)

and got

Loading required package: proto
Loa         


        
4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 16:33

    Open R shell and type following in it

    install.packages('ggplot2', dep = TRUE)
    

    then it will ask you to select the mirror, select closest one and it will install it and solve your problem.

提交回复
热议问题