Diagnostics for memory and CPU usage

As a new user of RStudio cloud, I am impressed with the IDE and its performance.

I'm concerned about exceeding limits for CPU and memory usage. I don't want my account closed due to the behavior of some models in R -- and models can use lots of CPU and lots of memory quite easily.

What diagnostics are available for monitoring R scripts (and Rmd markdown knits) to help me understand CPU and memory usage? How can I compare the performance (in terms of CPU and memory) of two different scripts (or two slightly different versions of the same script)? How can I stop a script that is taking a long time to run?

This topic was automatically closed 21 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.