Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 JRI 从 Java 执行 R,我看到 JRI 使用该eval()方法执行 R 命令。我有一个要执行的 R 脚本。
eval()
如何在 JRI 中加载此脚本并执行它?
您可以使用 R 命令运行整个脚本source()
source()