Other packages > Find by keyword >

vecrep  

Compact Vector Replication
View on CRAN: Click here


Download and install vecrep package within the R console
Install from CRAN:
install.packages("vecrep")

Install from Github:
library("remotes")
install_github("cran/vecrep")

Install by package version:
library("remotes")
install_version("vecrep", "0.1.0")



Attach the package and use:
library("vecrep")
Maintained by
Mitchell O'Hara-Wild
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-06-18
Latest Update: 2026-06-18
Description:
Replicates vectors using ALTREP (Alternative Representations for R Objects), avoiding unnecessary memory allocation. When a vector is repeated many times, only a reference to the original data is stored rather than copying the full expanded replicates into memory. The expanded data is only materialised if it is modified, making repeated vectors cheap to create and pass around. This is particularly useful when working with large repeated sequences, such as replicated index vectors, simulation inputs, or repeated reference values in data pipelines.
How to cite:
Mitchell O'Hara-Wild (2026). vecrep: Compact Vector Replication. R package version 0.1.0, https://cran.r-project.org/web/packages/vecrep. Accessed 29 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited vecrep R package
View vecrep citation profile
Other R packages that vecrep depends, imports, suggests or enhances
Complete documentation for vecrep
Functions, R codes and Examples using the vecrep R package
Full vecrep package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

GEVcdn  
GEV Conditional Density Estimation Network
Implements a flexible nonlinear modelling framework for nonstationary generalized extreme value anal ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
fastRG  
Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Giv ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
personalized2part  
Two-Part Estimation of Treatment Rules for Semi-Continuous Data
Implements the methodology of Huling, Smith, and Chen (2020) , w ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA