addTxtLinksToReport | R Documentation |
Adds texts link to a bsdoc object.
addTxtLinksToReport(
doc,
txtNames,
doZip = FALSE,
mime = ifelse(doZip, "application/zip", "application/text")
)
newWindowLink(linkName, txtName = NULL)
doc |
an object of the class bsdoc to add the text links. |
txtNames |
a character vector representing the link names. |
doZip |
a logical indicating whether to zip the files. |
mime |
a character representing the type of the links. |
linkName |
a single character representing the link (with .html). |
txtName |
a single character representing the link name. |
newWindowLink
: Gets the link, its name and returns an html link that will open new windows/tabs.
Rehrauer, Hubert
Schmid, Peter
param = ezParam()
htmlFile = "example.html"
doc = openBsdocReport(title="My report")
addTxtLinksToReport(doc, "dataset.tsv")
closeBsdocReport(doc, htmlFile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.