Copy Storr to another URI
Arguments
- uri
The URI path of storr.
- to_uri
Destination URI path to copy the storr to.
- context
Optional tiledb_ctx object.
See also
Other storr-utilities:
storr_move(),
storr_rename()
Examples
uri <- tempfile()
sto <- storr_tiledb(uri, init = TRUE)
# set key-values
sto$set("a", 1)
sto$set("b", 2)
# Copy storr to new URI
to_uri <- tempfile()
storr_copy(uri, to_uri)
sto2 <- storr_tiledb(to_uri)
sto2$list()
#> [1] "a" "b"