[R] Can WinBUGS run two processes through R at the same time?

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Sep 1 07:12:06 CEST 2010


R can, but you need to specify different working directories if you want 
to save the inits.


On 01.09.2010 02:20, Dejian Zhao wrote:
> Does winbugs write anything to the file 'inits1.txt'? If yes,possibly
> the file is exclusively occupied by the first winbugs process.
>
> On 2010-9-1 1:12, 潘家群 wrote:
>> 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]]
>>
>> ______________________________________________
>> 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.
>>
>
> ______________________________________________
> 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.



More information about the R-help mailing list