addTxtLinksToReport: Adds text links

addTxtLinksToReportR Documentation

Adds text links

Description

Adds texts link to a bsdoc object.

Usage

addTxtLinksToReport(
  doc,
  txtNames,
  doZip = FALSE,
  mime = ifelse(doZip, "application/zip", "application/text")
)

newWindowLink(linkName, txtName = NULL)

Arguments

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.

Functions

  • newWindowLink: Gets the link, its name and returns an html link that will open new windows/tabs.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

param = ezParam()
htmlFile = "example.html"
doc =  openBsdocReport(title="My report")
addTxtLinksToReport(doc, "dataset.tsv")
closeBsdocReport(doc, htmlFile)

uzh/ezRun documentation built on Sept. 16, 2024, 11:21 p.m.