R: Unable to establish connection with R session

I was using the latest versions of both R and RStudio on Mac (Big Sur). I was trying to install a package that I don't currently remember the name of, and RStudio suddenly give the following error: "Unable to establish connection with R session". I checked the previous posts but as far as I could implement the suggestions over there, they failed to make it work. What should I do?

Thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.