RODBC 不再可用 不支持 不在 R cran 列表中

RODBC not available any more not supported not in R cran list

你好,我想用 R 连接到 Oracle, 但据我所知,R 不再支持 RODBC。

对此有任何帮助或意见吗?

谢谢

您可以使用 ROracle 另一个 r 包,它是 DBI 的包装器,只要您的计算机上安装了 Oracle Instant Client 即可:

library(ROracle)
driver <- dbDriver("Oracle")
con <- dbConnect(driver, ....) #where the elipses are the traditional connction parameters ports, hosts, users passwords etc...

You can read all about it right on Cran: