Yes indeed - always a humbling experience.
Am I wrong or am I not the only one plagued by this?
Error in unserialize(socklist[[n]]) : error reading from connection
Error in serialize(data, node$con, xdr = FALSE) : error writing to connection
(RStudio crashes when switching to 1 core)
Shouldn’t we expect a less obscure message?
Still, I want to remain positive. The problem may well be a cockpit error (i.e., me). Though I have run a virtually identical code in the past with no problem.
I would be so grateful if some kind person could run the attached R code, using the attached Stan model and the attached Stan data.
A. Does it at least try to sample or do you also see this same error?
B. If it samples, I am curious what machine or system you are using.
C. If you also get the message, do you see any obvious problem with the code (I have spent 2 days looking at it and I find nothing obvious wrong).
D. Can you suggest any diagnostics to help identify the cause? I’ve used Stan for a number of years but I am not an IT professional.
I am running on an HP Zbook (x64, 16GRAM, Intel i7-5500U 4 core CPU @ 2.40GHz) under Windows 10 Pro. R version 3.6.3, rstan version 2.19.3, RStudio version 1.2.1335.
I sincerely appreciate any advice. Thank you!!