Controls parallelism and HTTP behaviour for the zarrs backend. Called with no arguments, returns the current settings as a named list. Called with arguments, sets the specified options and applies them to the Rust backend immediately.
Arguments
- nthreads
Integer or NULL. Number of threads for the rayon thread pool. NULL uses all CPUs (the default). The pool can only be initialised once per R session; later changes require a restart. Use the
PIZZARR_NTHREADSenvironment variable for reliable session-level control.- concurrent_target
Integer or NULL. Codec concurrency level — how many codec operations zarrs runs in parallel within a single read/write call. NULL uses the zarrs default (CPU count). Can be changed at any time.
- http_batch_range_requests
Logical or NULL. Whether HTTP stores use multipart range requests (default TRUE). Set to FALSE for servers with incomplete multipart range support. Takes effect on the next
zarr_open()orzarrs_get_subset()call that opens a new HTTP store; existing cached stores are not affected (usezarrs_close_store(url)to force re-creation).
