stan-dev / rstan

RStan, the R interface to Stan
https://mc-stan.org
1.04k stars 265 forks source link

Error in prep_call_sampler(object) #696

Open krchad opened 5 years ago

krchad commented 5 years ago

Summary:

We have encountered issues with the Rstan package: a code that worked before with R Platform and still works on personal computer does not work anymore on the platform.

Personal Computer have Rstan package version : '2.18.2' R Platform have Rstan package version : '2.19.2'

could be possible that " Older Version RStan objects in memory break Rstan " (https://github.com/stan-dev/rstan/issues/443) , could be causing this issue ?

Description:

Error in prep_call_sampler(object) : the compiled object from C++ code for this model is invalid, possible reasons:

R Version:

versions 3.4.1, 3.5.1 and 3.6.1

Operating System:

CentOS Linux release 7.3.1611 (Core)

bgoodri commented 4 years ago

I would delete the .rda file that goes along with the .rda file in the same directory and recompile again.