Creates a new TileDB array given an input schema.
tiledb_array_create(uri, schema, encryption_key)
URI specifying path to create the TileDB array object
tiledb_array_schema object
optional A character value with an AES-256 encryption key in case the array should be encryption.
ctx <- tiledb_ctx(limitTileDBCores())
if (FALSE) {
pth <- tempdir()
dom <- tiledb_domain(dims = c(tiledb_dim("d1", c(1L, 10L), type = "INT32")))
sch <- tiledb_array_schema(dom, attrs = c(tiledb_attr("a1", type = "INT32")))
tiledb_array_create(pth, sch)
tiledb_object_type(pth)
}
Run the code above in your browser using DataLab