Description Usage Arguments Value References Examples
HR
- Wrap a path/url to generate an HTML href tag.
HR2
- Convenience version of HR
with new_win
set to TRUE
.
BT
- Wrap a path/url to generate an HTML hyperlinked text button tag.
1 2 3 4 5 6 7 8 |
path |
A character vector url/path copied to the clipboard. Default is to read from the clipboard. Note that Windows users do not have to reorient slashes in local paths if reading from the clipboard. |
text |
A character vector of text to hyperref from. Defualt uses the
|
new_win |
logical. If |
copy2clip |
logical. If |
print |
logical. If |
Returns a character vector of an HTML href tag.
http://www.w3schools.com/tags/att_a_href.asp
http://www.w3schools.com/tags/tag_button.asp
1 2 3 4 5 6 7 | ## HR("assets/img/fry_admin_1.mp4","new")
HR(path="http://dl.dropbox.com/u/61803503/Likert.pdf", print = TRUE)
HR("http://cran.r-project.org/", print = TRUE)
HR("http://www.rstudio.com/ide/download/desktop", "click me", print = TRUE)
HR2("https://github.com/trinker/reports", "reports", print = TRUE)
BT("http://trinker.github.io/reports/dependencies", "Click Here!", print = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.