ram: Return system random access memory (RAM) information

View source: R/ram.R

ramR Documentation

Return system random access memory (RAM) information

Description

Return system random access memory (RAM) information

Usage

ram(type = c("total", "free"), units = "GB", digits = 0L)

Arguments

type

character(1). Type of RAM to return, either "total" or "free".

units

character(1). Size format.

digits

integer(1). Number of significant digits to include.

Details

Requires the memuse package to be installed.

Value

numeric(1).

Note

Updated 2023-11-10.

See Also

  • memuse package.

  • https://stackoverflow.com/questions/29787452/

  • help("object.size")

Examples

ram(type = "total", units = "GB")
ram(type = "free", units = "GB")

acidgenomics/acidbase documentation built on Jan. 26, 2024, 4:26 p.m.