AddNav: Add a navigation item (R2html).

Description Usage Arguments Details Value Author(s)

Description

Add an item to the HTML navigation file.

Usage

1
AddNav(navcon,Rcommand,listname)

Arguments

navcon

The connection for writing to the navigation file.

Rcommand

The current R command in the script file.

listname

The name of the listing file.

Details

AddNav adds an entry to the navigation file, generates a name tag for that entry and returns it to be inserted into the listing file. If the R command is longer than 20 characters, it is truncated to 18 characters and an ellipsis appended.

Value

The name tag to link the listing to the navigation entry.

Author(s)

Philippe Grosjean


prettyR documentation built on May 2, 2019, 2:16 a.m.

Related to AddNav in prettyR...