From Kurt.Hornik at wu-wien.ac.at  Sat Sep 10 12:01:47 2005
From: Kurt.Hornik at wu-wien.ac.at (Kurt Hornik)
Date: Sat, 10 Sep 2005 12:01:47 +0200
Subject: [Rd] \dontshow
In-Reply-To: <971536df050909191772cf7127@mail.gmail.com>
References: <971536df05090919025bc98fce@mail.gmail.com>
	<971536df050909191772cf7127@mail.gmail.com>
Message-ID: <17186.44811.377236.677233@mithrandir.hornik.net>

>>>>> Gabor Grothendieck writes:

> On 9/9/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
>> In R 2.2.0 I find that even if I use \dontshow in the examples section
>> of an .Rd file that the code still shows.
>> 
>> Has anyone else seen this?
>> 
>> Are there any packages that use this facility that I could
>> try in order to check this?
>> 
>> I am using
>> 
>> > R.version.string # XP
>> "R version 2.2.0, 2005-09-03"
>> 

> I realize that this description was not clear enough.  It does not
> show in the help file but when you run the example it shows
> and it was that part I was concerned about.  Is that the way its
> supposed to work?

According to the docs, yes.  R-exts has

     For example,

          x <- runif(10)       # Shown and run.
          \dontrun{plot(x)}    # Only shown.
          \dontshow{log(x)}    # Only run.

-k



[Rd] \dontshow
Kurt Hornik