powered by
A simple wrapper for save. Understands key = value syntax to save objects using arbitrary variable names. All options of save, except list and envir, are available and passed to save.
save
list
envir
save2( file, ..., ascii = FALSE, version = NULL, compress = !ascii, compression_level, eval.promises = TRUE, precheck = TRUE )
See help of save.
File to save.
[any] Will be converted to an environment and then passed to save.
any
x = 1 save2(y = x, file = tempfile())
Run the code above in your browser using DataLab