paleolimbot commented on issue #691: URL: https://github.com/apache/arrow-nanoarrow/issues/691#issuecomment-2537691009
Ah! For that, we definitely do want the extension type. What we have there would be: ```r mat_list <- list(matrix(1:6, ncol = 2, byrow = TRUE)) as_nanoarrow_array(mat_list, na_fixed_size_tensor(na_int32(), shape = c(2L, 3L), permutation = c(1L, 0L)) ``` ...which would be zero copy (limited to a "single element", which is, of course, a lot of elements they're just in the matrix part). That's impossible enough to type that maybe we just want a function for that. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
