rTensor
1.5.0Tools for Tensor Analysis and Decomposition
Overview
A set of tools for creation, manipulation, and modeling of tensors with arbitrary number of modes. A tensor in the context of data analysis is a multidimensional array. rTensor does this by providing a S4 class 'Tensor' that wraps around the base 'array' class. rTensor provides common tensor operations as methods, including matrix unfolding, summing/averaging across modes, calculating the Frobenius norm, and taking the inner product between two tensors. Familiar array operations are overloaded, such as index subsetting via '[' and element-wise operations. rTensor also implements various tensor decomposition, including CP, GLRAM, MPCA, PVD, Tucker, INDSCAL, RESCAL, DEDICOM, PARAFAC2, and 2DLDA. For tensors with 3 modes, rTensor also implements transpose, t-product, and t-SVD, as defined in Kilmer et al. (2013). Some auxiliary functions include the Khatri-Rao product, Kronecker product, and the Hadamard product for a list of matrices.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 82%
- References docs
- 50%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Repository practices
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/rikenbit/rtensor on 2026-08-16.
Dependencies
Code & Tests
People & History
10 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.5.0Latest
- RR 4.6.0 released · 2026-04-24
- 1.4.92025-08-25 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.4.82021-05-15 · diff ↗
- unarchivedReturned to CRAN2021-05-15
- archivedRemoved from CRAN2021-05-05check problems were not corrected in time
- RR 4.0.0 released · 2020-04-24
- 1.4.12020-03-22 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.42018-12-04 · diff ↗
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2014-01-28
- Total releases
- 10 / 12 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10.0
- Download size
- 43 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rTensor")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.