我的 Python 块(网状)无法识别 R 变量
我的问题很天真,但我想不出为什么会出现这个错误。 我正在使用 reticulate 库在 R 中使用 python 脚本来完成项目。出于非常实际的原因,我想用 python 编写最后一个块。但是当我尝试调用之前定义的 R 变量(使用 r.var)时,Python 似乎无法识别 r 变量。
这里有一个非常基本的变量示例:
有人对此有答案吗?
提前致谢
My question is pretty naive, but I cannot think of why I am getting this error.
I am using the reticulate library to use a python script within R for a project. For a very practical reason, I want to code one last chunk in python. But when i try to call an R variable that was defined previously (using r.var), it seems like python does not recognize the r variable.
Example with a very basic variable here:
Does anyone has an answer to this ?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论