R encountered a fatal error. The session was terminated. Error message after updating R and RStudio

693 Views Asked by At

I updated to R 4.3.0 and updated RStudio at the same time. After installing and upon opening an R project and before running any code, an error message immediately pops up "

R encountered a fatal error.

The session was terminated."

The same thing happens when I attempt to open RStudio directly and not through a project file.

I followed suggestions to remove .RData. I've also attempted to remove and reinstall as indicated on this thread. However, this didn't resolve the issue. I also saw a suggestion on that post to edit .Rprofile, but I either don't have this file or can't locate it. According to this post, that issue seems to have been resolved, so I'm not sure it is relevant to my issue.

I suspect it has something to do with R and not RStudio because I installed an old version of R 3.3.3 and RStudio did not produce the error message, but I need a newer version of R to run certain packages.

I found this similar question. I've deleted and reinstalled R and RStudio a few times now and this hasn't fixed my problem. I'm not sure what they mean by "R Frameworks" and don't want to delete things I am not sure about.

0

There are 0 best solutions below