Read-Write Support for 'NumPy' Files via 'Rcpp'
Overview
The 'cnpy' library written by Carl Rogers provides read and write facilities for files created with (or for) the 'NumPy' extension for 'Python'. Vectors and matrices of numeric types can be read or written to and from files as well as compressed files. Support for integer files is available if the package has been built with as C++11 which should be the default on all platforms since the release of R 3.3.0.
- Replaced Rf_error with Rcpp::stop in three files
- Maintenance updates to continuous integration
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-02
- NOTE11 OK, 1 NOTE2026-04-25
- OK14 OK2026-04-22
Show 4 earlier changesHide 4 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-04-16
- NOTE13 OK, 1 NOTE2026-03-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 1includes a package overview page
- Examples that run
- 0%1 never run
- Exported functions with examples
- not tracked
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 100%
Also includes 1 demo script (run with demo())
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/eddelbuettel/rcppcnpy on 2026-10-18.
The repository owner accepts GitHub Sponsors
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.15Latest
- 0.2.142025-11-04 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.2.132024-09-03 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.2.122023-11-27 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.112022-03-25 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.2.102018-07-29 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.2.92018-03-23 · diff ↗
Show 17 earlier eventsHide 17 earlier events
- 0.2.82018-01-04 · diff ↗
- 0.2.72017-09-22 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.2.62016-09-26 · diff ↗
- 0.2.52016-08-26 · diff ↗
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 0.2.42015-01-06 · diff ↗
- 0.2.32014-04-10 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.2.22013-11-30 · diff ↗
- 0.2.12013-11-28 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 0.2.02012-07-31 · diff ↗
- 0.1.02012-07-08 · diff ↗
- 0.0.12012-07-05
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-07-05
- Total releases
- 18 / 14 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.1.0
- Download size
- 216 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RcppCNPy")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.