enough_ram: Determine if you have enough RAM memory

View source: R/enough_ram.R

enough_ramR Documentation

Determine if you have enough RAM memory

Description

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

Usage

enough_ram(how_much = 4e+09)

Arguments

how_much

The number of bytes you want to compare against.

Details

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

Value

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

Examples


## Do you have ~ 4 GB in your system?
enough_ram(4e9)

## Do you have ~ 100 GB in your system
enough_ram(100e9)

LieberInstitute/spatialLIBD documentation built on Nov. 4, 2024, 11:57 a.m.