【问题标题】:Error in upgrading rpy2 python package to version 3.3.3将 rpy2 python 包升级到 3.3.3 版本时出错
【发布时间】:2020-09-13 19:08:04
【问题描述】:

我将已经安装的 rpy2 包从 3.2.6 升级到 3.3.3 并观察到以下问题:

Error: C stack usage  454466426436 is too close to the limit
Error: C stack usage  454466426484 is too close to the limit
Error: C stack usage  454466426484 is too close to the limit
Error: bad restore file magic number (file may be corrupted) -- no data loaded
During startup - Warning message:
unable to restore saved data in .RData
Error: C stack usage  454466426372 is too close to the limit
Fatal error: unable to initialize the JIT

【问题讨论】:

  • 什么时候出现错误?导入 rpy2 模块时,或运行某些特定代码时?您安装了哪个版本的 R?您使用的是哪个操作系统?
  • 导入 rpy2 模块时出现此错误。我在 Linux Ubuntu 机器上使用 R 3.4.4。
  • 工作目录下是否有.RData文件?重命名后得到的信息是什么?

标签: python r python-3.x pip rpy2


【解决方案1】:

您应该按照 Github 上 issue 中软件包的主要开发人员的建议,将 R 更新到更新的版本,至少为 R-3.6.x。我无法使用新版本 R-4.0.0 重现您的错误。我希望这能解决您的问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-06-21
    • 2017-04-10
    • 1970-01-01
    • 1970-01-01
    • 2021-04-24
    • 2021-01-31
    • 2016-02-13
    相关资源
    最近更新 更多