Learn R Programming

Revticulate (version 1.0.0)

loadRevHistory: Load Revticulate History from a .Rev File

Description

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

Usage

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

Run this code
# NOT RUN {
     loadRevHistory("someCode.rev")

     loadRevHistory("someMoreCode.rev", overwrite=TRUE)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab