在批处理脚本中,我可以使用以下语法运行R脚本:
Rterm.exe --quiet --slave --vanilla < "C:\some_script.R"
然而,Powershell似乎将"<"保留用于未来扩展。我想知道是否有直接在另一个Powershell脚本中运行R脚本的方法。