I have bought a new Air with M1 Chip last week. It is Big Sur version 11.2.3.
My code on RStudio is extremely slow, it takes around 7 minutes on this new laptop. I have tried to use R (rather than RStudio), and the same happens. I've checked it with my sister's Air (MacOS Mojave 10.14.6), and it takes only seconds to run the same code.
What would be the reason that my 1-week-old laptop is very slow to run the R code? And what would be the solutions?
Any help is so appreciated!