This is a known issue with RStudio and R4.0 at the moment, you can use the workaround in the below post to get things working again: