R package updates

后端 未结 2 1906
孤街浪徒
孤街浪徒 2020-12-02 00:44

I have been having some issues accessing an updated version of a package in R.

On running a workflow for data analysis I got this error message:

2条回答
  •  旧时难觅i
    2020-12-02 01:42

    Restart R and run install.packages again. On Windows, you can't update a package that's already loaded, if the package contains compiled C/C++/Fortran code. This includes dplyr and rlang.

    To be doubly sure, before you run install.packages, go to your R packages directory (C:/Users/tomsp/OneDrive/Documents/R/win-library/3.5) and delete any zero-length files that are present. These are artifacts of failed install attempts and will break install.packages if present.

提交回复
热议问题