Description Usage Arguments Details Author(s) See Also
httpd handler for highlight
1 | highlight.httpd.handler(path, query = NULL, ...)
|
path |
path of the http request |
query |
ignored |
... |
ignored |
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 = "" ) }
Romain Francois <romain@r-enthusiasts.com>
highlight is used with the html renderer renderer_html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.