LinZhongjun wrote:> Dear R lists,
>
> I ran Winbugs under R. I could get the results, but I kept getting the
error messages:
>
>
>
>
>
> Error in file(con, "wb") : cannot open the connection
> In addition: Warning messages:
> 1: In file.create(to[okay]) :
> cannot create file 'c:/Program
Files/WinBUGS14//System/Rsrc/Registry_Rsave.odc', reason 'Permission
denied'
> 2: In file(con, "wb") :
> cannot open file 'c:/Program
Files/WinBUGS14//System/Rsrc/Registry.odc': Permission denied
You probably do not have write permissions for those WinBUGS files that
R2WinBUGS tries to rewrite.
Uwe Ligges
> I ran two data sets, and got the same error messages.
>
> Why? How to get rid of the error messages?
>
> Thank you so much!
>
> Best wishes
> Lin Zhongjun
> _________________________________________________________________
> [[elided Hotmail spam]]
>
> [[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.