From: Uwe L. <li...@st...> - 2007-07-25 09:32:19
|
Hi Dawn, thank you very much for your BRugs port to S-PLUS and the integration of OpenBUGS 3.0.1! I applied some minor tweaks to a couple of files and I am happy for now. The new version is in the sourceforge repository (where you already have got access permissions). Can you check it under S-PLUS again, please? Then I'd like to make a release on CRAN. Thanks again! Uwe Dawn Woodard wrote: > Dr. Ligges, > > The altered BRugs package source is attached. It does not include > OpenBUGS; I just copied the OpenBUGS from > > http://mathstat.helsinki.fi/openbugs/OpenBUGS.zip > > to the inst subdirectory. > > I also attached a listing of the main suggested changes to the code. > The remainder are small changes to the S-PLUS code for compatibility. > There are a few functions that I have not yet tested in S-PLUS, such as > modelDynamic, modelFactory, and getGraphObj. > > Thank you very much! > Dawn > > ------------------------------------------------------------------------ > > Changes to the S-PLUS Code in the BRugs Package > > Dawn Woodard > > > > *Changes to R & S code* > > > > 1. The initialization functions were changed to work with v.3.0.1 of > OpenBUGS > 2. The HTML help files have moved from the docu/ subdirectory of > OpenBUGS to the Manuals subdirectory, and so “help.WinBUGS” and > “help.BRugs” have been changed accordingly. > 3. When the DIC stats are obtained from OpenBUGS in the dicStats > function, the new version of OpenBUGS has extra lines to give > minimum deviance information; the old version of OpenBUGS did not > have those lines. These lines are removed from the buffer. > > > > *Changes to S code only* > > > > 1. The “tempdir” function does not exist in S-PLUS. We are working > on creating it. In the meantime, I defined tempdir to return the > working directory. This is not a permanent solution since then > BRugs does not run if the working directory is write-protected; > for instance I had to alter the BRugs and BRugsFit examples to get > them to run. > 2. “browseURL” does not exist in S-PLUS. I am looking into this; in > the meantime, the functions “help.BRugs” and “help.WinBUGS” do not > work in S-PLUS. > 3. “scan” does not have a “quiet” option in S-PLUS; this option has > been removed > 4. The function “dev.interactive” does not exist in S-PLUS; calls to > this option have been replaced by calls to “interactive” > 5. writeModel, bugsData, and bugsInits from R2WinBUGS have been > updated to work in S-PLUS. The changes mimic the changes to the > corresponding functions in R2WinBUGS > 6. The “real” function does not exist in S-PLUS, so calls to this > function have been replaced by calls to “double” > 7. Slashes in file path strings are different in S-PLUS than in R > 8. The “ann” graphical argument is not available in S-PLUS > 9. S-PLUS gives a warning when the package is built if the last line > in a function is an assignment. A call to “invisible” has been > added to the ends of these functions. > |