Hello, I have a problem that I have not encountered before. I was running a code in Rstan without any problems. Then, yesterday, it stopped running that code and gave me the above error:
Error in unserialize(socklist[[n]]) : error reading from connection
Error in serialize(data, node$con, xdr = FALSE) :
error writing to connection
I then updated to the newest R version (thinking that might have been an issue) and got the same error. I then thought that maybe something went wrong with my updating of R, so I uninstalled/reinstalled everything (R, Rs studio, Rtools) to no avail. I keep getting the same error code when I reinstall and run the code. Rstan does run other codes, just not this one which made me think I had altered something in my code by accident. But, when I run my code on another computer, it runs fine. It isn’t the code, it is something in my computer or how it is interfacing with Rstan.
I have seen some threads on this topic, but maybe I don’t quite understand the bigger picture of what this error code means and how I should try to troubleshoot it.
Thanks for any suggestions.