Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用dplyrR 中的包,但要连接到 SSL 加密的远程数据库。如何在此处设置解决方法?我正在考虑设置一个使用 RODBC 包的后端。这可能吗?
dplyr
实际上,您可以连接到 SSL 加密的连接,dplyr这很容易。
您只需要在参数中传递连接的dbname参数,如下所示(这是一个 postgresql 示例):
dbname
db <- src_postgres(dbname="dbname=my_db sslcert=my_cert.crt sslkey=my_key.key sslmode=require", user="username", host="your.host.com")