Learn R Programming

tiledb (version 0.30.2)

tiledb_ndrectangle_datatype: Get the datatype of a named tiledb_ndrectangle dimension

Description

Get the datatype of a named tiledb_ndrectangle dimension

Usage

tiledb_ndrectangle_datatype(ndr, dimname)

Value

The tiledb_ndrectangle dimension datatype as a character

Arguments

ndr

A TileDB NDRectangle object

dimname

A character variable with the dimension for which to get a datatype

Examples

Run this code
ctx <- tiledb_ctx(limitTileDBCores())
if (tiledb_version(TRUE) >= "2.26.0") {
   dom <- tiledb_domain(dim = tiledb_dim("d1", c(1L, 100L), type = "INT32"))
   ndr <- tiledb_ndrectangle(dom)
   tiledb_ndrectangle_datatype(ndr, "d1")
}

Run the code above in your browser using DataLab