Learn R Programming

Rdpack (version 2.6.5)

ereprompt: Update an Rd file and open it in an editor

Description

Update an Rd file and open it in an editor. This is a wrapper for reprompt with different defaults for some parameters.

Usage

ereprompt(..., edit = TRUE, filename = TRUE)

Value

called for the side effect of updating Rd documentation file and opening it in an editor

Arguments

...

passed on to reprompt, see its documentation for details.

edit

if TRUE, the default, open an editor when finished.

filename

if TRUE, the default, replace and/or edit the original Rd file.

Author

Georgi N. Boshnakov

Details

ereprompt calls reprompt to do the actual job but has different defaults for the arguments described on this page. By default, it replaces the original Rd file with the updated documentation and opens it in an editor.

See Also

reprompt which does the actual work

Examples

Run this code
## this assumes that the current working directory is
## in any subdirectory of the development directory of  Rdpack 
if (FALSE) {
ereprompt(infile = "reprompt.Rd")
}

Run the code above in your browser using DataLab