问题描述
我有一个 Spring Boot 应用程序,它使用 Rcode 调用 Rscript,在 Windows 机器上运行它时它工作正常,我正在尝试对其进行 dockerize。
在我的 docker 容器中,我收到以下错误。
java.util.concurrent.ExecutionException: com.github.rcaller.exception.ExecutionException: R command failed with error. Reason: Error: package or namespace load failed for ‘data.table’:
object 'as.xts' not found whilst loading namespace 'data.table'
In addition: Warning message:
package ‘data.table’ was built under R version 3.6.3
Execution halted
尝试了多个选项,例如设置环境变量、检查 R 兼容性问题。
我是 R 新手,如何确保正确安装了所有必需的 R 包? 没有找到任何解决方法。
您的建议将不胜感激。 提前致谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)