以下似乎适用于我的Ubuntu机器: #!/bin/bash setsid Rscript example.R > logfile.txt &setsid 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交