문제

I would like to use the dplyr package in R but to connect to a remote database that is SSL-encrypted. How do I set up a workaround here? I'm thinking of setting up a backend that uses the RODBC package. Is this possible?

도움이 되었습니까?

해결책

Actually you can connect to a an SSL-encrypted connection with dplyr and it's easy.

You just need to pass the parameters for your connection within the dbname parameter, like this (this is a postgresql example):

db <- src_postgres(dbname="dbname=my_db sslcert=my_cert.crt sslkey=my_key.key sslmode=require", user="username", host="your.host.com")
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top