bsave | R Documentation |
bsave()
is run from R; its companion function is to be run through the command line via gather
, which is located in Dropbox/bin
.
bsave(res, suffix = "")
res |
Results to save |
suffix |
By default, files are named 'tmp1.rds', 'tmp2.rds', and so on. If |
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.