R's equivalent of Python's sys.exit(exit_code) ?

Given that exit_code is some integer value, what would be R's equivalent of Python's sys.exit(exit_code)?

Does the stop() or stopifnot() function do what you need?

This should answer this question:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.