Hello! I am new to Stan and this side of R and I am trying to be able to get some scripts up and running. However, whenever I try to run anything regarding the package (both the library() and example() function from the getting started guide) I get the following error:
Error: package or namespace load failed for ‘rstan’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/colem/AppData/Local/R/win-library/4.4/QuickJSR/libs/x64/QuickJSR.dll':
LoadLibrary failure: The specified procedure could not be found.
- Operating System: Windows 11
- RStan Version: 2.32.7
- R Version: 4.4.1
- RTools Version: RTools44
- Sys.which("make): “c:\rtools44\usr\bin\make.exe”
- Sys.getenv(“PATH”):
"c:\\rtools44\\x86_64-w64-mingw32.static.posix\\bin;c:\\rtools44\\usr\\bin;C:\\Program Files\\R\\R-4.4.1\\bin\\x64;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\windows\\System32\\OpenSSH\\;C:\\Program Files\\HP\\HP One Agent;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\PuTTY\\;C:\\Users\\colem\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\colem\\AppData\\Roaming\\TinyTeX\\bin\\windows;C:\\Users\\colem\\AppData\\Local\\GitHubDesktop\\bin;C:\\Program Files\\RStudio\\resources\\app\\bin\\quarto\\bin;C:\\Program Files\\RStudio\\resources\\app\\bin\\postback"
As mentioned I am super lost as this is my first foray into doing anything beyond linear modeling in R. Any help would be appreciated!