On 07.02.2012 15:23, anaraster wrote:> Hi!
>
> I am new to BUGS and running BUGS from R. I am trying to run a regression
> model from R, however I have this error message:
>
> 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
>
> Can anyone help me out ?
R2WinBUGS tries to modify the mentioned files. That is not always
required, hence R2WinBUGS just tries. If it fails, it continues and you
may get perfect results.
If things won't work, ask your Sysadmin for write permissions on that files.
Uwe Ligges
> I am running R2WinBUGS from a windows 7 machine.
>
> --
> View this message in context:
http://r.789695.n4.nabble.com/R2WinBUGS-error-message-tp4364838p4364838.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.