Build Status

The TileDB R package offers an R interface to the storage engine of TileDB.

Note that the R interface to TileDB is under development, and the API is subject to change.

Documentation

Documentation is available for the R package as well as for the TileDB API.

Installation

TileDB needs to be present, and can to be installed first (from a package or from source) for the TileDB R package to build and link correctly. For macOS and Linux, a precompiled shared library is used during the installation of this R package.

As the TileDB R package has not been published on CRAN, it must be installed from source.

The most recent released version can be installed from Github using the package remotes.

> if (!requireNamespace("remotes",quietly=TRUE)) install.packages("remotes")
> remotes::install_github("TileDB-Inc/TileDB-R")
...
> library(tiledb)
> tiledb_version()
major minor patch
    2     0     5
> help(package=tiledb)

If the TileDB library is installed in a custom location, you need to pass the explicit path:

> remotes::install_github("TileDB-Inc/TileDB-R",
      args="--configure-args='--with-tiledb=/path/to/tiledb'")

Note that the TileDB R package is developed and tested against the latest stable (v2.0.x) version of TileDB, but should also build against the newest development version.

License

MIT