Man pages for cheapr
Simple Functions to Save Time and Memory

addressMemory address of R object
as_discreteTurn continuous data into discrete bins
attrsAdd and remove attributes
binA sometimes cheaper but argument richer alternative to...
caseA cheapr case-when and switch
castFast casting/coercing of R objects
cheapr_cA cheapr version of 'c()'
cheapr-packagecheapr: Simple Functions to Save Time and Memory
copyCopy R objects
countsFast frequency tables - Still experimental
cpp_rebuildLow-level attribute re-constructor
data_frameCheap data frame utilities
dotsTurn dot-dot-dot ('...') into a named list
extrasExtra utilities
factorsA cheaper version of 'factor()' along with cheaper utilities
gcdGreatest common divisor and smallest common multiple
get_breaksPretty break-points for continuous (numeric) data
if_elseCheaper version of 'ifelse()'
int_signA fast and integer-based 'sign()'
is_naEfficient functions for dealing with missing values.
is_whole_numberVery fast check that numeric vector consists only of whole...
lagLagged operations.
listsList utilities
na_initFast 'NA' initialisation
overviewAn alternative to 'summary()' inspired by the skimr package
rebuildRebuild an object from a template
recycleRecycle objects to a common size
repcheapr style repeat functions
replaceFast vector replacement, an alternative to [<-
scalarsEfficient functions for counting, finding, replacing and...
sequencesUtilities for creating many sequences
set_mathMath operations by reference - *Experimental*
ssetCheaper subset 'sset()'
sset_dfFast functions for data frame subsetting
str_coalesceCoalesce character vectors
stringsFast string concatenation using C++
switch_argsSwitch between dot-dot-dot and a list of args
unique_An alternative 'unique' function
which_Memory-efficient alternative to 'which()'
cheapr documentation built on Nov. 28, 2025, 5:06 p.m.