This function determines if you have enough RAM memory on your system.

enough_ram(how_much = 4e+09)

Arguments

how_much

The number of bytes you want to compare against.

Value

A logical(1) indicating whether your system has enough RAM memory.

Details

If benchmarkme::get_ram() fails, this function will return FALSE as a save bet.

Examples


## Do you have ~ 4 GB in your system?
enough_ram(4e9)
#> [1] TRUE

## Do you have ~ 100 GB in your system
enough_ram(100e9)
#> [1] FALSE