Learn R Programming

hyperSpec (version 0.98-20140523)

logentry: Append a Row to the logbook of a hyperSpec Object A log entry is generated and appended to the log of x.

Description

The arguments (besides x) go into the respective columns of x@log.

Usage

logentry(x, short = NULL, long = NULL, date = NULL,
    user = NULL)

Arguments

x
a hyperSpec object
short
short description
long
long description, e.g. list with function arguments
date
time stamp
user
username

Value

  • x@log (data.frame) including the new row.

Details

The following values are used for any arguments that are NULL:

The name of the funtion that called logentry is used for short, and its call for long.

For date, the current Sys.time() is used, and user is constructed from Sys.info()'s user and nodename.

Examples

Run this code
logentry (chondro, short = "test")

Run the code above in your browser using DataLab