Flexible, Powerful, and Readable Tensor Operations
Overview
Perform tensor operations using a concise yet expressive syntax inspired by the Python library of the same name. Reshape, rearrange, and combine multidimensional arrays for scientific computing, machine learning, and data analysis. Einops simplifies complex manipulations, making code more maintainable and intuitive. The original implementation is demonstrated in Rogozhnikov (2022) https://openreview.net/forum?id=oapKSVM2bcj.
Changes
- For CRAN check compatibility and issues with
torch::torch_install(), torch-related tests auto skip on CRAN. - Move
lifecyclefromimportstoSuggestssince it is a build time developer dependency instead of a user-required dependency.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 45 (38 internal)includes a package overview page
- Examples that run
- 100%8 run in a plain check (5 of them under a condition)
- Exported functions with examples
- 86%
- Documented parameters
- 85%
- Return-value docs
- 100%
- Help pages citing references
- 2%
- basics HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 15
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
14 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/qile0317/einops on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-08-29 · The repository has a site deploy workflow
pkgdown site last built 2025-08-29, before release 0.2.1 (2025-09-03)
Show all practicesHide 4 practices
Dependencies
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 0.2.1Latest2025-09-03 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-09-03
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 13 KB / 1 file
- Download size
- 217 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("einops")The package provides a citation file, so citation() returns the authors' own entry.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.