Convert R Objects from One Structure to Another
Overview
Offers a suite of functions for converting to and from (atomic) vectors, matrices, data.frames, and (3D+) arrays as well as lists of these objects. It is an alternative to the base R as.<str>.<method>() functions (e.g., as.data.frame.array()) that provides more useful and/or flexible restructuring of R objects. To do so, it only works with common structuring of R objects (e.g., data.frames with only atomic vector columns).
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 77includes a package overview page
- Examples that run
- 100%76 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing str2str adds 6 packages (4 with compiled code, 2.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, plyr 392 KB, checkmate 247 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.0Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.1
- 0.2.02021-06-28 · diff ↗ ·
added 9 exports
abind<-, dimlabels<-, Join, cbind_fill, cbind_fill_matrix, is.Date, is.POSIXct, undimlabel, undimname - RR 4.1.0 released · 2021-05-18
- 0.1.12021-02-01
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-02-01
- Total releases
- 4 / 5 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 94 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("str2str")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.