50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

tiledb (version 0.30.2)

tiledb_array_create: Creates a new TileDB array given an input schema.

Description

Creates a new TileDB array given an input schema.

Usage

tiledb_array_create(uri, schema, encryption_key)

Arguments

uri

URI specifying path to create the TileDB array object

schema

tiledb_array_schema object

encryption_key

optional A character value with an AES-256 encryption key in case the array should be encryption.

Examples

Run this code
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