saveme | R Documentation |
I often use R over a sshfs connection, sometimes with significant latency, and I want to be able to save/load my R sessions relatively quickly. Thus this function uses pxz to compress the R session maximally and relatively fast. This assumes you have pxz installed and >= 4 CPUs.
saveme(
directory = "savefiles",
backups = 2,
cpus = 6,
filename = "Rdata.rda.xz"
)
directory |
Directory to save the Rdata file. |
backups |
How many revisions? |
cpus |
How many cpus to use for the xz call |
filename |
Choose a filename. |
Command string used to save the global environment.
[loadme()]
## Not run:
saveme()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.