Error in namespaceExport(ns, exports) : undefined exports: … Error: package or namespace load failed

前端 未结 2 1313
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 18:15

I recently updated R to the latest version (R version 3.1.1) and now I can´t run load packages. In the case of ggplot2, the error message after running library(\"ggplot2\") is

相关标签:
2条回答
  • 2021-01-25 18:34

    Indeed, one or more of the dependend packages had to be updated.

    I created a new empty library directory where I re-installed all packages and this solved the problem. Thanks!

    My error was updating only ggplot2 update.packages("ggplot2") while I should have ran update.packages().

    0 讨论(0)
  • 2021-01-25 18:49

    I often find simply retrying with require() works for some reason: require(BiodiversityR)

    0 讨论(0)
提交回复
热议问题