Hi,
This morning I updated the rstanarm package (through Rstudio, Windows 10). At first things appeared to work normally, but then I started getting annoying pop-up messages that read:
rsession.exe - Entry Point Not Found
The procedure entry point EXTPR_PTR could not be located in the dynamic link library C:\Users\Michael
Schrimpf\Documents\R\win-library\4.0\rstan\libs\x64\rstan.dll.
They appear at odd times, for example, when I click the save button for the script in Rstudio.
I tried reinstalling both RTools40 and rstan, following the instructions I had followed before on:
and
https://github.com/stan-dev/rstan/wiki/Installing-RStan-from-source-on-Windows,
but that didnāt solve the problem. Does it have something to do with the fact that my R library is nested under my user folder with a space in the name? (I havenāt figured out how to link to my Microsoft account without thatā¦very annoying).
It seemed like I could still get Stan test models to run by simply hitting OK when the messages come up, but then when I tried loading past stanreg objects I had produced:
# Directory for model output:
mod_dir <- "C:/Docs/model_output"
# Set species
species <- "NAWA"
# Model Results
fit <- readRDS(file = file.path(mod_dir, paste("fit_", species, ".rds", sep = "")))
it first gives me the pop-up again, in addition to these lines:
Warning: namespace ārstanarmā is not available and has been replaced
by .GlobalEnv when processing object ā<unknown>ā
Warning: namespace ārstanā is not available and has been replaced
by .GlobalEnv when processing object ā<unknown>ā
Then it does seem to load the object, but I canāt do anything with it. For example:
summary(fit)
Produces:
Error in if (df.r > 0) { : missing value where TRUE/FALSE needed
So, now Iām using:
Windows 10
R 4.0.0
RStudio 1.2.5042
Rstan 2.21.2
rstanarm 2.21.1
I havenāt yet tried updating R to 4.0.2 (was hoping to avoid that hassle if possible).
Thanks,
Michael