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.
我正在使用 Excel 在 R 中调用脚本。R 最终会生成一个图形,在此基础上我希望用户能够看到并提供输入。有没有办法在运行时从 Excel 中获取 R 的输入?
谢谢
所以我找到了解决方案。我运行了一个名为 vbs 的 shell 脚本,该脚本调用了一个不同的工作簿,该工作簿运行了一个 vba 代码,该代码调用了我想要使用的原始工作簿,而 R 检查了新工作簿的内容,直到它们被更改(这是输入框是填写原始工作簿)。