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

From: Janko Thyson <janko.thyson_at_ku-eichstaett.de>
Date: Thu, 04 Nov 2010 18:49:12 +0100

> -----Urspr√ľngliche Nachricht-----
> Von: Vinh Nguyen [mailto:vqnguyen_at_uci.edu]
> Gesendet: Donnerstag, 4. November 2010 17:15
> An: Janko Thyson
> Cc: r-devel_at_r-project. org
> Betreff: Re: [Roxygen-devel] Roxygen: @example tag does not work for me
>
> 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.
>

Unfortunately, use.Rd2=TRUE also doesn't seem to work.

>
> 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
> >



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 04 Nov 2010 - 17:50:51 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 Thu 04 Nov 2010 - 18:00:17 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