R install package loaded namespace

后端 未结 3 1240
迷失自我
迷失自我 2021-01-21 08:09

I would like to install the package plotly in RStudio and got a error message.

install.packages(\"~/Desktop/plotly_4.5.2.tar.gz\", repos = NULL, type = \"source\

3条回答
  •  余生分开走
    2021-01-21 09:02

    I also faced a similar issue. I restarted the R session and reinstalled both packages.

    install.packages("Rcpp")
    install.packages("plotly")
    

    In my case, I was not able to load dplyr package. So, first I installed Rcpp package and then installed dplyr package. This solved my problem.

提交回复
热议问题