note: Add a comment in the history file.

Description Usage Arguments Details Value Examples

Description

Sometimes interactive exploration of running different statements is a great way to understand what is happening with your code or data. note is a quick way to annote your results in the history file so you can record what worked or did not work or a question that needs further research.

Usage

1
note(txt = "Previous command worked")

Arguments

txt

default is "Previous command worked".

Details

note("Plot labels have wrong color - try explicit aes() for geom_dl") would create a history file entry similar to:

1
2
3
4
<<<<< Notes to myself >>>>>
12-May-2016 (Thu) 08:07 @ /Users/examples
Plot labels have wrong color - try explicit aes() for geom_dl
<<<<< Notes to myself >>>>>

Value

The character string returned by timestamp.

Examples

1
2
note()
note("Calculation matched reference data!")

dgabbe/dgutil documentation built on May 15, 2019, 7:20 a.m.