> -----Ursprüngliche Nachricht----- > Von: roxygen-devel-boun...@lists.r-forge.r-project.org [mailto:roxygen- > devel-boun...@lists.r-forge.r-project.org] Im Auftrag von Vinh Nguyen > Gesendet: Donnerstag, 4. November 2010 04:04 > An: roxygen-de...@r-forge.wu-wien.ac.at > Betreff: Re: [Roxygen-devel] Roxygen: @example tag does not work for me > > Try @examples (with an 's'): > > #' @examples > #' my R code > #' my R code
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 > > I'm not sure if placing a relative path (tests/foo.R) would work...try > placing the actual code in the documentation chunk. > _______________________________________________ > Roxygen-devel mailing list > roxygen-de...@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen- > devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel