Creates a new TileDB array given an input schema.

tiledb_array_create(uri, schema)

Arguments

uri

URI specifying path to create the TileDB array object

schema

tiledb_array_schema object

Examples

pth <- tempdir() ctx <- tiledb_ctx() dom <- tiledb_domain(ctx, dims = c(tiledb_dim(ctx, "d1", c(1L, 10L), type = "INT32"))) sch <- tiledb_array_schema(ctx, dom, attrs = c(tiledb_attr(ctx, "a1"))) tiledb_array_create(pth, sch)
#> [1] "/var/folders/yn/_1781_c548z33m_qsc1q0q1m0000gn/T//RtmpahHl9h"
#> [1] "ARRAY"