satrajit roychoudhury wrote:
Dear,

I am running the following  R  code using the R2WINBUGS package.


fit<-bugs(
 model.file=BUGScode,
 data=data,
 inits = list(geninits1,geninits2),
 parameters.to.save=keepers,
 n.chains=nchains,
 n.iter=runs,
 n.burnin=burn,
 n.thin=nthin,
 bugs.directory="C:/Program Files/WinBUGS14"
 )
I put this code and the corresponding WINBUGS code "BUGScode" in the same
folder and change the directory of R into that folder.  When I am running
this code in the Windows XP,  "log" and  "CODA" files are saved in the
directory after the run. But when I am running this in VISTA there is no
"log" and "CODA" file saved in the directory. Can anybody pls help me how
can I get those files in in VISTA? Are they saved in some other directory?
Is this a version issue for R? I am running 2.6 in XP and 2.9 in Vista.


I guess this is another version of R2WinBUGS you are using and at some point we changed defaults so that temporary files are generated in the tempdir() rather than the working directory.

Best,
Uwe Ligges



Looking forward to hear from you.


Best regards,

Satrajit

        [[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.

Reply via email to