问题标签 [deepnote]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
8 浏览

rpy2 - 如何将 R 包的库路径设置为 rpy2?

我正在尝试在 Python 中调用 R 包。R 包是礼貌的(https://cran.r-project.org/web/packages/politeness/vignettes/politeness.html),我能够在本地机器上运行它。

但是,尝试在 Deepnote 上调用包时,Rpy2 没有定位到礼貌包,出现以下错误。

PackageNotInstalledError:未安装 R 包“礼貌”。

任何建议都受到高度赞赏。谢谢