[Rd] How to document man/*.Rd pages with images?
Hadley Wickham
hadley at rice.edu
Wed May 11 21:48:03 CEST 2011
> 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 think you're asking the wrong question. You should be asking: "Can
I include images in help files?". As far as I know, the answer is no.
You might be able to do it for specific output formats. See
http://cran.r-project.org/doc/manuals/R-exts.html#Conditional-text
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
More information about the R-devel
mailing list