Re: [Rd] Links to non-vignette documentation

From: Prof Brian Ripley <>
Date: Thu 23 Feb 2006 - 20:50:23 GMT

On Thu, 23 Feb 2006, hadley wickham wrote:

>>>> Is there anyway to have my pdf documentation listed under vignettes
>>>> other than making it a sweave file?
>> No, a vignette is regarded as an Sweave file.
> It would be useful if there was a mechanism to allow arbitrary pdf
> files to be included as vignettes. There are many other ways to
> include R code/output in pdf files other than through Sweave.

I think you need to define `vignette'. I understand the usage to mean an Sweave file. There are ways to include other PDF files, and you can write your own index file. R can't do that for you as it cannot read PDF (it can read Sweave).

>> I just tried this by adding inst/doc/foo.pdf to windlgs. If there is an
>> pdf file but no .[RS]nw vignettes, the index is fairly useless but
>> browsing is available.
>>> I don't know if the sentence about pointers being created is true otherwise.
>> It seems to be.
> A link to the directory where the pdf is located, only available in
> the html version of help, rather stretches the definition of a
> pointer.

What is a link if not a pointer? What it actually says is

    Pointers from package help indices to the installed     documents are automatically created.

I am not aware of any other sort of `package help index', although one could arge the toss about Compiled HTML.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Fri Feb 24 08:12:58 2006

This archive was generated by hypermail 2.1.8 : Thu 23 Feb 2006 - 22:16:08 GMT