Skip to contents

Gets a config parameter value

Usage

# S4 method for tiledb_config,ANY
[(x, i, j, ..., drop = FALSE)

Arguments

x

tiledb_config object

i

parameter key string

j

parameter key string, currently unused.

...

Extra parameter for method signature, currently unused.

drop

Optional logical switch to drop dimensions, default FALSE, currently unused.

Value

a config string value if parameter exists, else NA

Examples

ctx <- tiledb_ctx(limitTileDBCores())
cfg <- tiledb_config()
cfg["sm.tile_cache_size"]
#> sm.tile_cache_size 
#>         "10000000" 
cfg["does_not_exist"]
#> NA 
#> NA