addHyperLinks: Add Hyper Links

Description Usage Arguments Value Examples

Description

addHyperlinks adds hyperlinks to an xlsx or xksxSimple, Excel worksheet.

Usage

1
2
3
4
addHyperLinks(sheet, col.name, urls)

## S4 method for signature 'jobjRef'
addHyperLinks(sheet, col.name, urls)

Arguments

sheet

An xlsx or xksxSimple, worksheet.

col.name

A character scalar, the name of the column where the hyperlinks are to be added. The column will be created if it doesn't exist.

urls

A character vector, the list of the hyperlink targets.

Value

The worksheet invisibly.

Examples

1
2
3
4
5
## Not run: 
toSheet(mtcars) -> sheet
addHyperLinks(sheet, "Google", "http://google.com")

## End(Not run)

But-I-Digress/xlsxSimple documentation built on Jan. 26, 2020, 9:53 a.m.