Solved
Turns out it was slow because it was loading a lot of data from previous projects. I unchecked a few things in RStudio global settings (see image), closed, and reopened. It took seconds.
2 Likes