fetch | R Documentation |
These are generic functions for moving data in R objects between shared memory and file storage for sharing with other R processes.
fetch(object, ...)
flash(object, ...)
object |
An object with data to move. |
... |
Additional arguments to the |
The fetch
methods for matter
objects return new matter
objects that use shared memory storage.
The flash
methods for matter
objects return new matter
objects that use file storage.
A new object (typically of the same class but not necessarily) with data in the specified storage format.
Kylie A. Bemis
matter
set.seed(1)
x <- as.matter(runif(10))
path(x)
# copy x into shared memory
y <- fetch(x)
path(y)
# copy y into file storage
z <- flash(y)
path(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.