Learn R Programming

zarr (version 0.1.1)

open_zarr: Open a Zarr store

Description

This function opens a Zarr object, connected to a store located on the local file system.

Usage

open_zarr(location, read_only = FALSE)

Value

A zarr object.

Arguments

location

Character string that indicates a location on a file system where the Zarr store is to be found. The character string may contain UTF-8 characters and/or use a file URI format.

read_only

Optional. Logical that indicates if the store is to be opened in read-only mode. Default is FALSE.

Examples

Run this code
fn <- system.file("extdata", "africa.zarr", package = "zarr")
africa <- open_zarr(fn)
africa

Run the code above in your browser using DataLab