Section 11 Save & Load R Objects
11.1 Function
Function | Explanation |
---|---|
save |
Save R objects to the specified file |
save.image |
Save my current workspace including all objects |
load |
Reload objects written with the function save |
11.2 Example
?save
save(..., list = character(),
file = stop("'file' must be specified"),
ascii = FALSE, version = NULL, envir = parent.frame(),
compress = isTRUE(!ascii), compression_level,
eval.promises = TRUE, precheck = TRUE)
save.image(file = ".RData", version = NULL, ascii = FALSE,
compress = !ascii, safe = TRUE)
?load
load(file, envir = parent.frame(), verbose = FALSE)