TRANSLATING MODEL 'schools_code' FROM Stan CODE TO C++ CODE NOW.
COMPILING THE C++ CODE FOR MODEL 'schools_code' NOW.
*** caught segfault ***
address 0x20, cause 'memory not mapped'
Traceback:
1: .Call(Module__functions_names, xp)
2: Module(module, mustStart = TRUE)
3: .getModulePointer(x)
4: <S4 object of class "Module">$stan_fit4model6776b37d1c0_schools_code
5: <S4 object of class "Module">$stan_fit4model6776b37d1c0_schools_code
6: eval(expr, envir, enclos)
7: eval(call("$", mod, paste("stan_fit4", model_cppname, sep = "")))
8: .local(object, ...)
9: sampling(sm, data, pars, chains, iter, warmup, thin, seed, init, check_data = TRUE, sample_file = sample_file, diagnostic_file = diagnostic_file, verbose = verbose, algorithm = match.arg(algorithm), control = control, ...)
10: sampling(sm, data, pars, chains, iter, warmup, thin, seed, init, check_data = TRUE, sample_file = sample_file, diagnostic_file = diagnostic_file, verbose = verbose, algorithm = match.arg(algorithm), control = control, ...)
11: stan(model_code = schools_code, data = schools_dat, iter = 1000, chains = 4)
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace