highlight.httpd.handler: httpd handler for highlight

Description Usage Arguments Details Author(s) See Also

View source: R/httpd.R

Description

httpd handler for highlight

Usage

1

Arguments

path

path of the http request

query

ignored

...

ignored

Details

Since R version 2.11.0, highlight installs a custom handler to handle http request of the prefix "/custom/highlight".

Simple version, searching glm from the global environment: \Sexpr[results=rd,echo=FALSE,stage=render]{ port <- tools:::httpdPort link <- paste( "http://127.0.0.1:", port, "/custom/highlight/glm", sep = "" ) paste( "\\\href{",link,"}{", link, "}", sep = "" ) }

Lookup glm in package stats : \Sexpr[results=rd,echo=FALSE,stage=render]{ link <- paste( "http://127.0.0.1:", port, "/custom/highlight/stats/glm", sep = "" ) paste( "\\\href{",link,"}{", link, "}", sep = "" ) }

Author(s)

Romain Francois <romain@r-enthusiasts.com>

See Also

highlight is used with the html renderer renderer_html


Dasonk/highlight documentation built on May 6, 2019, 1:37 p.m.