usage survey
mschubert opened this issue · comments
This is an overview of how narray
is used in R packages present on CRAN, to get some idea where to focus future development. If anyone reading this uses narray
themselves, please add as a comment.
- audrex -
split
array - clustermq -
split
array - codez -
split
array - dymo -
split
array withpurrr::map
, could probably usenarray::map
- FunCC -
rep
for vector to matrix - janus -
subset
, probably doable by[
- jenga -
split
, mostly withpurrr::map
- lambdaTS -
split
, mostly withpurrr::map2
; providessmart_split
, shouldn't this be justdrop=TRUE
? - proteus -
smart_split
as above - segen -
split
- tetragon -
split
Code outside packages:
- ClimateImpactLab is using
stack
Other packages providing similar functionality:
- arrayhelpers - some common functions like
apply
andgrouped
version, can't be used much because e.g. still call tobrowser()
in the code - arrApply -
apply
for commonly used functions inRcpp
, similar toMarixStats
- implicitExpansion - broadcasting for R
- keep - own array type to not drop dims
- lazyarray - on-disk array, will be replaced by
filearray
- listArray - key-based dimension access
- listarrays - functional programming with arrays: binding, splitting, setting dimnames, etc.
- RcppArray - creation of type-specific arrays with
Rcpp
- tensor - tensor products (single R function)
- via - not sure, vignettes largely empty