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