sparsevctrs: Sparse Vectors for Use in Data Frames

Provides sparse vectors powered by ALTREP (Alternative Representations for R Objects) that behave like regular vectors, and can thus be used in data frames. Also provides tools to convert between sparse matrices and data frames with sparse columns and functions to interact with sparse vectors.

Package details

AuthorEmil Hvitfeldt [aut, cre] (ORCID: <https://orcid.org/0000-0002-0679-1945>), Davis Vaughan [ctb], Posit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)
MaintainerEmil Hvitfeldt <emil.hvitfeldt@posit.co>
LicenseMIT + file LICENSE
Version0.3.4
URL https://github.com/r-lib/sparsevctrs https://r-lib.github.io/sparsevctrs/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("sparsevctrs")

Try the sparsevctrs package in your browser

Any scripts or data that you put into this service are public.

sparsevctrs documentation built on June 8, 2025, 1:48 p.m.