> -----Original 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'
This tells you that you do not have operating system permission to create a file in the program files area referred to. > 2: In file(con, "wb") : > cannot open file 'c:/Program > Files/WinBUGS14//System/Rsrc/Registry.odc': > Permission denied .. and this tells you you don't have permission to open a file for writing (mode 'w' in the same location Conclusion; you're trying to write to an area you don;t have permission to write to. Either change the permissions for that area (insecure) or use a different file location for temporary files. ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}} ______________________________________________ R-help@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.