Dear all, I want to run two winBugs process through R (by R2WinBUGS package). The first WinBUGS process can successfully perform under R. The error message appears while I put the code to run for the second WinBUGS. The error message: Error in file(file, ifelse(append, "a", "w")) : cannot open the connection In addition: Warning message: In file(file, ifelse(append, "a", "w")) : cannot open file 'inits1.txt': Permission denied Can WinBUGS run two processes through R at the same time? If it can, how should I modify the setting to do this? Thanks. [[alternative HTML version deleted]]
Dear all, I want to run two winBugs processes through R (by R2WinBUGS package). The first WinBUGS process can successfully perform under R. The error message appears while I put the code to run for the second WinBUGS process. The error message: Error in file(file, ifelse(append, "a", "w")) : cannot open the connection In addition: Warning message: In file(file, ifelse(append, "a", "w")) : cannot open file 'inits1.txt': Permission denied Can WinBUGS run two processes through R at the same time? If it can, how should I modify the setting to do this? Thanks. [[alternative HTML version deleted]]
Uwe Ligges
2010-Sep-01 05:11 UTC
[R] Can WinBUGS run two processes through R at the same time?
R can, but you need to specify different working directories if you want to save the inits. Uwe Ligges On 31.08.2010 11:25, ??? wrote:> Dear all, > > > > I want to run two winBugs process through R (by R2WinBUGS package). > > The first WinBUGS process can successfully perform under R. > The error message appears while I put the code to run for the second > WinBUGS. > > The error message: > Error in file(file, ifelse(append, "a", "w")) : > cannot open the connection > In addition: Warning message: > In file(file, ifelse(append, "a", "w")) : > cannot open file 'inits1.txt': Permission denied > > > > Can WinBUGS run two processes through R at the same time? > > If it can, how should I modify the setting to do this? > > > > Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.