Save and combine (gather) results from batched R sessions
bsave.Rd
bsave()
is run from R; its companion function is to be run through the command line via gather
, which is located in Dropbox/bin
.
Examples
# These examples are illustrative; for working examples, see Dropbox/bin/test
A <- rnorm(100)
# If run interactively
# bsave(A) # Saves to 2019-06-14.rds
# bsave(A, "A") # Saves to 2019-06-14-A.rds
# If run in batch (with a number as first command line argument)
# bsave(A) # Saves to tmp1.rds; gathered to 2019-06-14.rds
# bsave(A, "A") # Saves to tmp1-A.rds; gathered to 2019-06-14-A.rds