user95902
user95902

Reputation: 159

How do you know RStudio is running?

I have a quick, simple question -- how do you know R is running and it's not stopped?

I am running an optimizer from the GA package and I assumed that the computational time would be enormous, but as I pushed the GA loop, R just seems like it's stopped, but no returning error though.

As I open the task manager, I can see that it's using around 0% of CPU. The first column being the CPU and the second the storage.

First column the CPU and second the storage

How do I know the process is still running and not freezed?

Thank you!

Upvotes: 8

Views: 37496

Answers (1)

Nick Kennedy
Nick Kennedy

Reputation: 12640

RStudio spawns processes called "RStudio R session" that actually do the work. You should be able to find them in your task manager in the 'Background processes section'. Here's an example I generated after running while (TRUE) {x <- 2 + 1} which will ask R to do something pointless forever.

Task manager snip

Upvotes: 7

Related Questions