what_size: Calculate the size of any R object

what_sizeR Documentation

Calculate the size of any R object

Description

Calculate the size of any R object

Usage

what_size(x, units = "Mb", ...)

Arguments

x

Object

units

Character. Specify which unit to use, i.e. "Gb", "Mb", "Kb".

...

further arguments passed to or from other methods.

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), font_exists(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), list_cats(), listfiles(), mail_send(), markdown2df(), move_files(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), warnifnot()

Examples

what_size(seq(1:1e3), "Kb")
what_size(seq(1:1e6))
what_size(as.character(seq(1:1e6)))

lares documentation built on Nov. 5, 2023, 1:09 a.m.