Error messages using RStan with parallell chains, but STAN seems to run just fine

#1

I’m running RStan on a Windows 10 computer, and when I run the chains on multiple cores, I get the following error messages that I can’t sort out what to make of:

Error in file(con, “r”) : cannot open the connection
In addition: Warning message:
In file(con, “r”) :
cannot open file ‘C:/Program Files/RStudio/resources/CITATION’: No such file or directory
Error in file(con, “r”) : cannot open the connection
In addition: Warning message:
In file(con, “r”) :
cannot open file ‘C:/Program Files/RStudio/resources/CITATION’: No such file or directory

For all I can tell, Stan seems to run just fine. Any idea of what’s going on and what I can/should do about it?

0 Likes

#2

I think some other package is trying to figure out how to cite RStudio. You can do

options(warn = 3) # turns warnings into errors
options(error = recover) # to browse through the call stack after an error

to figure out where it is coming from.

0 Likes