Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 583 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 583 Bytes

Zarr for R

Build Status

Interface:

The final interface is supposed to look like this:

library(zarr)

path <- "/path/to/the/data/set"
key <- "group/dataset"
shape <- c(9, 9, 9)
chunk_shape <- c(3, 3, 3)
dtype <- "double"

d <- create_dataset(path, key, shape = shape, chunk_shape = chunk_shape, dtype = dtype)

for opening:

d <- open_dataset(path, key)

accessing the dataset should behave like a normal array:

d[1, 2, 3]
d[ , 2, 2]
d[1, 1, 1] <- 3