Reads in the code from a .Rev file and writes it into the current Revticulate history.

loadRevHistory(filepath, overwrite = FALSE)

Arguments

filepath

character - File to load .Revhistory from

overwrite

logical - If TRUE, the code in the file at 'filepath' will overwrite current .Revhistory. If FALSE, it will be appended to the end of it.

Value

No return - reads in new code to the .Revhistory file

Examples

if (FALSE) {
     loadRevHistory("someCode.rev")

     loadRevHistory("someMoreCode.rev", overwrite=TRUE)
}