Rterm.exe Entry Point Not Found


Over the weekend my computer was forced to shutdown, and now when I open Rstudio, I get the following error

Rterm.exe - Entry Point Not Found
The procedure entry point R_ExternalPtrAddrFn could not be location in the dynamic link library R.dll.

I've removed the .Rdata file from the project I was working on, as well as the .Rproj.user folder, and then globally the Rstudio-Desktop folder. That helped me actually open the project that I had been working on, but I still am persistently getting the Rterm error. Has anyone seen this before or have a suggestion? Thanks.


A couple possibilities from support threads:


A little late to the party but this might also be an rlang issue. Maybe try reinstalling rlang from Github if you can, or from source from CRAN. Or maybe you switched R versions somewhere along the way and it did not like that?

I'm currently facing this issue myself on Windows 7 and can force it to occur by:

  • Starting in R 3.4.1 where rlang was downloaded and installed from
  • Using RStudio to switch to R 3.3.1
  • Restarting RStudio. Immediately on open I get a pop up box stating the Rterm.exe error shown above. (there is not hint that it was rlang.) The box continually pops up randomly throughout the session.
  • Removing rlang from my library, then restarting RStudio results in the box no longer popping up while still on R 3.3.1.

Relevant github issue:


I am a bit late to help with that issue but had it now first time my self. Maybe someone else will have use of it.
I used the installR() package to upgrade my r version from R and recieved that error.

In Rstudio, when you go on tools -> global options -> R version you can change the version to run your RStudio session. This was not changed when upgrading R, but must be done by hand. After setting the right version R worked again without this error.
Good luck with your codes