From hadley at rice.edu  Wed May 11 21:48:03 2011
From: hadley at rice.edu (Hadley Wickham)
Date: Wed, 11 May 2011 14:48:03 -0500
Subject: [Rd] How to document man/*.Rd pages with images?
In-Reply-To: <C9F056EB.4153%sean.mcguffee@gmail.com>
References: <C9F056EB.4153%sean.mcguffee@gmail.com>
Message-ID: <BANLkTinGiKMURAWGxppQE=d3n4a8tBADoA@mail.gmail.com>

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



[Rd] How to document man/*.Rd pages with images?
Hadley Wickham