将 Snowflake 数据库连接到 R 和 Datagrip 中的 Python

Connecting Snowflake database to R and Python in Datagrip

我正在为相当基本的设置而苦苦挣扎。我已经在 Datagrip 中下载了 R 和 Python 插件...如何将它们连接到 Datagrip 中的 Snowflake 数据库?

DataGrip 中的 R 和 Python 插件只是简单的编辑器支持扩展,用于在同一 IDE 中处理 Python 和 R 文件(而不是打开单独的编辑器程序).

您的 DataGrip 配置的连接不会自动在您使用插件在同一 IDE 中编辑的 Python/R 代码中可用。相反,您必须按照特定于语言的说明直接在您的代码中连接到 Snowflake。

对于 Python,在 https://docs.snowflake.net/manuals/user-guide/python-connector.html 提供了官方连接指南 对于 R,博客 post 在 https://www.snowflake.com/blog/integrating-the-snowflake-data-warehouse-with-r-via-dplyr/

介绍了一种使用 dplyr 的可能方法