From vqnguyen at uci.edu  Thu Nov  4 17:14:38 2010
From: vqnguyen at uci.edu (Vinh Nguyen)
Date: Thu, 4 Nov 2010 09:14:38 -0700
Subject: [Rd] [Roxygen-devel] Roxygen: @example tag does not work for me
In-Reply-To: <4680497819169548415@unknownmsgid>
References: <AANLkTikarnCXvftebnXCJ0BuUOvFWj4PiPAkUpJA_UmY@mail.gmail.com>
	<4680497819169548415@unknownmsgid>
Message-ID: <AANLkTinpqq0UTf0geWjM6qS8_pHXyUBZ3R8qdMom1AG8@mail.gmail.com>

I didn't know @example path/to/file.R was available until you
mentioned the UseR! 2010 presentation.  If that's the case, I'm going
to guess that you have to specify use.Rd2=TRUE in roxygenize(), as
I've found most of the new features mentioned in that presentation to
require it.


On Thu, Nov 4, 2010 at 6:14 AM, Janko Thyson
<janko.thyson at ku-eichstaett.de> wrote:
>
> Hi Vinh,
>
> thanks for the reply. What you suggest works just fine. It's not the thing
> I'm looking for, though, since it means I have to "hard code" my examples to
> the actual script. That's exactly what I'm trying to get around. And there
> is this ominous "@example" tag that should get the job done, I just don't
> get how ;-)
>
> Thanks for your comment though!
>
> Regards, Janko
>



[Rd] [Roxygen-devel] Roxygen: @example tag does not work for me
Vinh Nguyen