[Rd] How to document man/*.Rd pages with images?
dtenenba at fhcrc.org
Wed May 11 21:13:26 CEST 2011
On Wed, May 11, 2011 at 12:08 PM, Sean Robert McGuffee
<sean.mcguffee at gmail.com> wrote:
> I¹m trying to figure out how to put images into my package¹s help
> documentation. I¹ve gotten to the point where I can put the images in the
> /inst/doc/ directory. I have also gotten to the point where I have package
> checks without any warnings. I couldn¹t find the terms ³picture,² ³image,²
> or ³graphic² in a text search within the Writing R Extensions: 2 Writing R
> documentation files
> I tried a couple of LaTeX guesses, but they lead to the following errors on
> Warning: /LAB/SRM/PROGS/R_PACKAGES/Ralign/man/Ralign139.Rd:3: unexpected
> UNKNOWN '\usepackage'
> Warning: /LAB/SRM/PROGS/R_PACKAGES/Ralign/man/Ralign139.Rd:36: unknown macro
> What is the right way to do this?
Given a graphics file called foo.png, you can include it in a vignette
> R-devel at r-project.org mailing list
More information about the R-devel