From: <li...@us...> - 2008-10-16 09:29:07
|
Revision: 92 http://bugs-r.svn.sourceforge.net/bugs-r/?rev=92&view=rev Author: ligges Date: 2008-10-16 08:59:34 +0000 (Thu, 16 Oct 2008) Log Message: ----------- workaround: Mac's wine does not accept double slashes in pathnames Modified Paths: -------------- trunk/R2WinBUGS/R/bugs.R Modified: trunk/R2WinBUGS/R/bugs.R =================================================================== --- trunk/R2WinBUGS/R/bugs.R 2008-10-11 19:31:56 UTC (rev 91) +++ trunk/R2WinBUGS/R/bugs.R 2008-10-16 08:59:34 UTC (rev 92) @@ -46,6 +46,7 @@ working.directory <- tempdir() if(useWINE){ ## Some tweaks for wine (particularly required for Mac OS) + working.directory <- gsub("//", "/", working.directory) Sys.chmod(working.directory, mode="750") on.exit(Sys.chmod(working.directory, mode="700")) } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |