Problem with the change is that none of our old scripts work! If the model.file is in R's current working directory we either have to use working.directory=getwd() or specify a full path with model.file=file.path(getwd(), "mymodel.bug").
It would be really nice if 'bugs' looked in R's c.w.d. for input files -- in particular model.file -- while still putting its temporary files in a tempdir. Cheers, Mike. Uwe Ligges-3 wrote: > > > > John Smith wrote: >> In newest version of R2WinBUGS, the default directory is changed to >> working.directory, but never changed back once finished bugs call. > > Now finally fixed, thanks again for the report and sorry for the delay. > > Best, > Uwe > > > > >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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. > > ______________________________________________ > 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. > > -- View this message in context: http://www.nabble.com/bug-in-R2WinBUGS-tp21377525p21761975.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.