其他分享
首页 > 其他分享> > Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), v

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), v

作者:互联网

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])

目录

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])

问题:

解决:

完整错误:


问题:

> library(ggplot2)

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 载入了名字空间‘ellipsis’ 0.3.1,但需要的是>= 0.3.2

解决:

在Rstudio中,找到packages模块,将报错的包删除之后,重新使用install.packages进行对应的安装;

完整错误:

> library(ggplot2)

Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 载入了名字空间‘ellipsis’ 0.3.1,但需要的是>= 0.3.2

参考:R

标签:load,loc,libPaths,lib,namespace,ggplot2
来源: https://blog.csdn.net/zhongkeyuanchongqing/article/details/122786223