[R] hyperlinks to other packages in .Rd files

John Fox jfox at mcmaster.ca
Wed Dec 20 04:02:34 CET 2000


Dear list members,

I've been working on an R package, which I just checked and built with the 
new tools in the Windows version of R 1.2.0. (These tools are wonderful, by 
the way.) Everything went fine, except that cross-references that I tried 
to create to help pages in other packages don't work.

Page 14 of Writing R Extensions says:

"There are optional arguments specified as \link[pkg]{foo} and 
\link[pkg:bar]{foo} to link to the package pkg with topic (file?) foo and 
bar respectively."

I thought that I understood this passage (with the exception of the 
parenthetical question, which is in the original text), but, for example, 
\link[base]{hist} fails to create a link to the documentation for hist in 
the base package.

I've screwed around with this for a while with no success. Any help would 
be appreciated.

Thanks,
  John

________________________________
  John Fox
  Department of Sociology
  McMaster University
  email: jfox at McMaster.ca
  web: www.socsci.mcmaster.ca/jfox
________________________________

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list