[R] R Extensions: Hyperlinking a pdf (not generated by Sweave/not a vignette) from a .Rd file
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Sep 23 09:38:34 CEST 2007
On Sat, 22 Sep 2007, morphwj at comcast.net wrote:
> When constructing an R extension, how can a hyperlink from an .Rd file
> to a pdf (not generated by Sweave, so not a vignette) located in the
> inst/doc folder be constructed?
With \url.
I presume you mean writing a package, and installing into the 'doc'
subdirectory (which is what by default happens for anything in the
inst/doc subdirectory _of the package sources_). That would need
\url{"../doc/something.pdf"}.
(There are extensions other than packages, which is why the manual is
called 'Writing R Extensions.)
> Bill Morphet ATK, Space Launch Systems
> Postflight Evaluation Eng
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list