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.
有谁知道如何在不退出 R 控制台的情况下停止程序执行?我可以打电话q("no"),但实际上我正在寻找类似于 throws 语句的东西来停止执行,但让控制台保持活动状态。返回?
q("no")
您可以使用停止功能:
stop()