No of cores that R is operating on

Hi all,

When I go to task manager and check. The number of cores is 2. But when I run below code, It is showing as 4. Why this mismatch?

> library("parallel")
> no_of_cores = detectCores()

I don't know for sure but would guess its to do with difference between physical and logical cores?.

It is probably returning the number of threads you have on that CPU.

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.