Re: [Rd] demo enhancement

From: Duncan Murdoch <>
Date: Mon, 16 Feb 2009 06:35:58 -0500

Kjell Konis wrote:
> Hello,
> 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.
Your attachment got lost, but by coincidence, I was wanting an echo=FALSE argument to demo a couple of days ago. I didn't add it yet, because

Since the first two items above are contradictory, I decided this needed thinking about, but I haven't taken the time to do that yet.

Duncan Murdoch mailing list Received on Mon 16 Feb 2009 - 10:37:38 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 - 12:30:24 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive