[R] Link from vignette to package documentation

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Fri Sep 21 11:02:32 CEST 2018

On 21/09/2018 4:54 AM, Sigbert Klinke wrote:
> Hi,
> is it possible to make a link from a vignette to a (Rd) help files in my
> own or other packages?

Only with some significant compromises.  R normally acts as the web 
server for Rd files, and the URL is not really predictable.  So you 
would need to make the URL predictable, either by something like

options(help.ports = 12345)

(which will put help on port 12345, blocking that port for any other 
use, including help in another R session), or by putting a static copy 
of the help pages on some other web server.

Duncan Murdoch

More information about the R-help mailing list