Path-aware constructor that picks the right backing store. A path
ending in .daf.zarr (or any directory path) creates a DirStore.
:memory: or NULL creates a DictStore. A path ending in
.daf.zarr.zip creates an MmapZipStore (mmap-backed zip).
Usage
zarr_daf(uri = NULL, mode = c("r", "r+", "w", "w+"), name = NULL)Arguments
- uri
Filesystem directory path,
:memory:, orNULL.- mode
"r","r+","w", or"w+"."w"initializes a fresh empty store (creating the directory if needed)."w+"truncates any existing store and creates a fresh one."r+"opens for read-write without truncating."r"opens read-only.- name
Optional name; default derived from
uri.