Mark Keller

Results 233 comments of Mark Keller
trafficstars

> $get_item(c(1:2, 2, 1)) Indexing with numeric vectors is difficult since the elements become flattened by default, unlike with lists ```r > c(1:2, 2, 1) [1] 1 2 2 1...

We also have this bracket indexing function which may be relevant: https://github.com/keller-mark/pizzarr/blob/f84355d2708c22dc6e703f3cdd83d218221b352a/R/zarr-array.R#L1213 ```r z[2, 5] ``` Example in test here: https://github.com/keller-mark/pizzarr/blob/main/tests/testthat/test-s3.R#L47

I agree with @dblodgett-usgs, the contribution is welcome! Compatibility with DelayedArray would be great!