I've been happily using RStudio via rocker container running on Ubuntu22.
Recently I noticed a good load of code that I run bi-annually, stopped working.
the code uses
mclapply to process 1000+ visualisation of sales data per item.
The script was working at least 6 months ago. (2022/10)
My guess was that something changed in R and parallel package.
In trying to troubleshoot the issue I came across multiple warnings about "use of forking in RStudio IDE is dangerous and not recommended"
which felt a little odd to me, since I've been using mclapply and other functions of
parallel package with great success for years.
Do people not use parallel package when working with RStudio?
or do you ignore the warning and just use them like I did for 4 years with success?
Is there a Posit approved, "official" way to use all cores on our computer?
This particular pc is a Intel 14 core (28HT), 256GB ram machine.
When mclapply works it is hugely fast. Not being able to use it fully is causing much cry in the office.