grumpy: Read 'NumPy' '.npy' and '.npz' Files

Lightweight way to read 'NumPy' '.npy' and '.npz' files in R. All data types supported by 'NumPy', with all sizes (converted internally to R native size), both C and 'Fortran' order, and any shape, up to an arbitrary number of dimensions, are supported.

Version: 0.2.0
Depends: R (≥ 4.2.0)
Suggests: microbenchmark, quarto, Rarr, reticulate, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-11-16
DOI: 10.32614/CRAN.package.grumpy
Author: Hugo Gruson ORCID iD [aut, cre, cph], Mike Smith [aut, cph] (Original author of portions of the C code migrated from the Rarr package), German Network for Bioinformatics Infrastructure - de.NBI [fnd]
Maintainer: Hugo Gruson <hugo.gruson+R at normalesup.org>
BugReports: https://github.com/Bisaloo/grumpy/issues
License: MIT + file LICENSE
URL: https://hugogruson.fr/grumpy/, https://github.com/Bisaloo/grumpy
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: grumpy results

Documentation:

Reference manual: grumpy.html , grumpy.pdf
Vignettes: Beyond grumpy and '.npy' files (source, R code)
NumPy format compatibility (source, R code)
Design principles (source, R code)
Getting started with grumpy (source, R code)

Downloads:

Package source: grumpy_0.2.0.tar.gz
Windows binaries: r-devel: grumpy_0.1.1.zip, r-release: grumpy_0.1.1.zip, r-oldrel: grumpy_0.1.1.zip
macOS binaries: r-release (arm64): grumpy_0.1.1.tgz, r-oldrel (arm64): grumpy_0.1.1.tgz, r-release (x86_64): grumpy_0.1.1.tgz, r-oldrel (x86_64): grumpy_0.1.1.tgz
Old sources: grumpy archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=grumpy to link to this page.