rstan
rstan copied to clipboard
Is the `optimizing` example in the help page still valid? It keeps crashing R
Running the following code crashes R
m <- stan_model(model_code = 'parameters {real y;} model {y ~ normal(0,1);}')
f <- optimizing(m, hessian = TRUE)
with the following message, and ends the R session.
==== C stack trace ===============================
(No symbol) [0x0x64797d53]
(No symbol) [0x0xdfacfe95d0]
(No symbol) [0x0x64820940]
(No symbol) [0x0x207fd47e480]
(No symbol) [0x0x64684e20]
(No symbol) [0x0xdfacfe9460]
(No symbol) [0x0xdfacfe95d0]
(No symbol) [0x0x64820940]
(No symbol) [0x0x64684ef9]
(No symbol) [0x0x207fcc16e30]
(No symbol) [0x0x207fbf20558]
(No symbol) [0x0x207fcc16df8]
R_execMethod [0x0x6c8002ff+1231]
(No symbol) [0x0xdfacfe94b8]
(No symbol) [0x0xdfacfe94b8]