Learn R Programming

highlight (version 0.2-2)

highlight.httpd.handler: httpd handler for highlight

Description

httpd handler for highlight

Usage

highlight.httpd.handler(path, query, body)

Arguments

path
path of the http request
query
ignored
body
request body, currently ignored

Details

Since R version 2.11.0, highlight installs a custom handler to handle http request of the prefix "/custom/highlight". html{ Simple version, searching glm from the global environment: [results=rd,echo=FALSE,stage=render]{ port <- tools:::httpdPort link <- paste( "http://127.0.0.1:", port, "/custom/highlight/glm", sep = "" ) paste( "\\url{",link,"}" ) } Lookup glm in package stats : [results=rd,echo=FALSE,stage=render]{ link <- paste( "http://127.0.0.1:", port, "/custom/highlight/stats/glm", sep = "" ) paste( "\\url{",link,"}" ) } [object Object] highlight is used with the html renderer renderer_html data