[Rd] demo enhancement

From: Kjell Konis <kjell.konis_at_epfl.ch>
Date: Mon, 16 Feb 2009 12:20:31 +0100


I have a package for working with Bayesian networks (RHugin - on R- Forge for those interested). It contains a function RHExample that does the same thing as the demo function in the utils package except that it does not display any output in the R console. I use it to build simple networks in the examples section of my .Rd documentation files. Anyway, I thought it would be useful if this functionality was also part of the demo function. The attached diff adds an echo argument to demo which, when set to FALSE, makes demo behave the same as my RHExample function. Please feel free to use it if you think it would be helpful.


R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 16 Feb 2009 - 10:24:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Feb 2009 - 11:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive