Learn R Programming

TiddlyWikiR (version 1.0.1)

twLink-class: A class to handle TiddlyWiki links.

Description

Some utilities to insert internal or external links into TiddlyWiki.

Arguments

Usage

new ("twLink", label, ref) twLink ("the text here", ref = "the target here")

Slots

label:
the visible text or anchor.
ref:
the target or URL to be redirected to.

Methods

label and label (object) <- value:
Access and set label.
ref and ref (object) <- value:
Access and set ref.

See Also

twTable and twImage

Examples

Run this code
new ("twLink", label = "the text here", ref = "aTiddlerNameHere")
twLink (label = "the text here", ref = "http://www.r-project.org/")

twLink ("here", ref = "http://www.dmontaner.com")
paste ("see my home page",
       twLink ("here", ref = "http://www.dmontaner.com"), ", I hope you like it.")

Run the code above in your browser using DataLab