Problems with installation R packages

前端 未结 3 1006
我在风中等你
我在风中等你 2020-12-05 05:51

I\'m a Windows user. A few weeks ago I installed R and Rstudio along with many packages. Today there was a message that new packages were not installed.

Warni         


        
3条回答
  •  眼角桃花
    2020-12-05 06:46

    I was facing similar issue and the fix that worked for me is that, in RStudio I've opened tools -> Global Options -> Packages -> Primary CRAN Repository -> Set Global.

    Also make sure you're not using installed.packages this happens to a lot of people because of RStudio typing suggestions. You need to use install.packages("")

提交回复
热议问题