Message-ID: <43FE042B.4080601@stats.uwo.ca>
Date: 2006-02-23T18:51:23Z
From: Duncan Murdoch
Subject: Links to non-vignette documentation
In-Reply-To: <f8e6ff050602230853l7eb9cfe6n7458e718ce7934b3@mail.gmail.com>
On 2/23/2006 11:53 AM, hadley wickham wrote:
> Section 1.4 of Writing R Extensions says:
>
> In addition to the help files in Rd format, R packages allow the
> inclusion of documents in arbitrary other formats. The standard
> location for these is subdirectory inst/doc of a source package, the
> contents will be copied to subdirectory doc when the package is
> installed. Pointers from package help indices to the installed
> documents are automatically created. Documents in inst/doc can be in
> arbitrary format, however we strongly recommend to provide them in PDF
> format, such that users on all platforms can easily read them.
>
> Where are these pointers created? I have a package with a pdf file
> (introduction.pdf) in inst/doc but I can't find a link to it from the
> documentation (eg. from help.start() or help(package=...)
>
> Is there anyway to have my pdf documentation listed under vignettes
> other than making it a sweave file?
A manually written inst/doc/index.html file will be linked into the help
system.
I don't know if the sentence about pointers being created is true otherwise.
Duncan Murdoch