简体   繁体   中英

Connect with R/RStudio to an Oracle DB using Wallet

H, I'm quite a newbie on this.

I have a Unix machine with R/RStudio and Python installed. I need to connect to an Oracle DB in a secure way. I have created a wallet with mkstore given by Oracle and with Python and cx_Oracle library I have no problems in connecting to this DB, but how can I afford the same result with R?

There's an example in the ROracle doc :

## Create connection authenticated with external credentials.
con <- dbConnect(drv, username ="", password="", external_credentials = TRUE)

You'll probably need to pass dbname too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM