hello everibody, the two main suggestion i received were:
set working.directory="." (or getwd(), it works as well)
a more complicated way
Comment: adding group write permission for a temporary working directory in
order to avoid problems with WINE on Mac OS X. Will be available in
the next release of R2WinBUGS RSN.
Modified: trunk/R2WinBUGS/R/bugs.R
===================================================================
--- trunk/R2WinBUGS/R/bugs.R 2009-02-20 15:11:48 UTC (rev 107)
+++ trunk/R2WinBUGS/R/bugs.R 2009-03-25 12:45:56 UTC (rev 108)
@@ -48,7 +48,7 @@
if(useWINE){
## Some tweaks for wine (particularly required for Mac OS)
working.directory <- gsub("//", "/", working.directory)
- Sys.chmod(working.directory, mode="750")
+ Sys.chmod(working.directory, mode="770")
on.exit(Sys.chmod(working.directory, mode="700"), add = TRUE)
}
savedWD <- getwd()
-------------------------------------------------------------------
This list is for discussion of modelling issues and the BUGS software.
For help with crashes and error messages, first mail [log in to unmask]
To mail the BUGS list, mail to [log in to unmask]
Before mailing, please check the archive at www.jiscmail.ac.uk/lists/bugs.html
Please do not mail attachments to the list.
To leave the BUGS list, send LEAVE BUGS to [log in to unmask]
If this fails, mail [log in to unmask], NOT the whole list
|