R/ram.R
ram.Rd
Return system random access memory (RAM) information
ram(type = c("total", "free"), units = "GB", digits = 0L)
character(1). Type of RAM to return, either "total" or "free".
character(1)
"total"
"free"
character(1). Size format.
integer(1). Number of significant digits to include.
integer(1)
numeric(1).
numeric(1)
Requires the memuse package to be installed.
Updated 2023-11-10.
memuse package.
https://stackoverflow.com/questions/29787452/
help("object.size")
ram(type = "total", units = "GB") #> [1] 16 ram(type = "free", units = "GB") #> [1] 0