object_size: Convenience function to find size of R object.

View source: R/object_size.R

object_sizeR Documentation

Convenience function to find size of R object.

Description

object_size is a simple wrapper for object.size and format which allows for quick return of an object's size in memory.

Usage

object_size(object, unit = "Mb")

Arguments

object

An R object.

unit

Units of size. See object.size for options. Defaults to "Mb" for megabytes.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.