Please Avoid detectCores() in your R Packages
R-bloggers 2022-12-06
Summary:
The detectCores() function of the parallel package is probably one of the most used functions when it comes to setting the number of parallel workers to use in R. In this blog post, I’ll try to explain why using it is not always a good idea. ...