Unable to load shared object on startup in RStudio only

On occasion, library load errors can be due to a PATH environment variable set such that other libraries are not found in the location they're expected to be found.

What is the output of:

Sys.getenv("PATH")
Sys.which("stats.dll")

(Just in case stats.dll is on the PATH for some reason, provided by a different application)

2 Likes