Save the name of last table and give a title

Share:

Description

This function saves the name of the last created table to allow copying it to the HTML report using the “Export results to report” menu, or directly using the copyTableToOutput function.

Usage

1
setLastTable(name, title = NULL)

Arguments

name

The name of the table, which must correspond to an object in the global environment.

title

The title to give to the table, which will be displayed in the report, or NULL for none.

Details

The title is saved as the “title” attribute of the object called as name in the global environment. You may need to call activateMenus so that the relevant menus are enabled.

Author(s)

Milan Bouchet-Valat

See Also

copyTableToOutput