- 已编辑
问题描述
我用的是 windows 系统。官网上最新版的 ROracle 1.3-2 只支持到 R 3.6,在 R 4.0 上可以安装,但在加载时会提示不适用于 R 4.0,请问该如何解决这个问题?或者有什么别的方法/包可以在 R 4.0 上连接到服务器上的 Oracle 数据库?
错误提示
library(ROracle)
载入需要的程辑包:DBI
错误: package or namespace load failed for ‘ROracle’:
package ‘ROracle’ was installed before R 4.0.0: please re-install it
系统环境
sessionInfo()
R version 4.0.4 Patched (2021-02-27 r80043)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936 LC_CTYPE=Chinese (Simplified)_China.936 LC_MONETARY=Chinese (Simplified)_China.936
[4] LC_NUMERIC=C LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RJDBC_0.2-8 rJava_0.9-13 DBI_1.1.1
loaded via a namespace (and not attached):
[1] compiler_4.0.4 tools_4.0.4