Learn R Programming

searchAnalyzeR (version 0.1.0)

mem_usage: Get Current Memory Usage

Description

Reports the current memory usage of the R session.

Usage

mem_usage(units = "MB", include_gc = FALSE)

Value

Named list with memory usage information

Arguments

units

Units for reporting memory usage ("MB", "GB", or "KB")

include_gc

Logical, whether to run garbage collection before measuring