save_ncfs {ncdfFlow} | R Documentation |
The ncdfFlowSet
object contains two parts: R object and cdf file.
Save/load a ncdfFlowSet mainly involves the R part using saveRDS/readRDS.
save_ncfs(ncfs, path, overwrite = FALSE, cdf = c("copy", "move", "link", "skip", "symlink")) load_ncfs(path)
ncfs |
A |
path |
A character scalar giving the path to save/load the ncdfFlowSet to/from. |
overwrite |
A logical scalar specifying whether to overwrite the existing folder. |
cdf |
a character scalar. The valid options are :"copy","move","skip","symlink","link" specifying what to do with the cdf data file. Sometime it is more efficient to move or create a link of the existing cdf file to the archived folder. |
load_ncfs
returns a ncdfFlowSet object
## Not run: #ncfs is a ncdfFlowSet save_ncfs(fs, path = "tempFolder") fs1 <- load_ncfs(path = "tempFolder") ## End(Not run)