我想使用sqldf()
函数。但是,在安装软件包后,当我加载它时,我会收到此错误:
install.packages("sqldf", dep = TRUE)
library("sqldf")
> Loading required package: RSQLite
Error: package or namespace load failed for ‘RSQLite’ in loadNamespace(i, c(lib.loc, .libPaths()),
versionCheck = vI[[i]]):
namespace ‘vctrs’ 0.2.0 is already loaded, but >= 0.2.1 is required
Error: package ‘RSQLite’ could not be loaded
然后,当我尝试安装和加载RSQLite
软件包时,我收到了以下消息:
> library(RSQLite)
Error: package or namespace load failed for ‘RSQLite’ in loadNamespace(i, c(lib.loc, .libPaths()),
versionCheck = vI[[i]]):
namespace ‘vctrs’ 0.2.0 is already loaded, but >= 0.2.1 is required
如果您能分享这一经验,我将不胜感激。
p.s:我尝试使用update.packages()
也不起作用。