Learn R Programming

BigDataStatMeth (version 2.0.3)

.get_option: Get global option value with fallback

Description

Internal helper to retrieve global option value. If the option is NULL (not set), returns the provided default. If a non-NULL value is explicitly passed (from a method call), that takes priority over the global option.

Usage

.get_option(name, default = NULL, override = NULL)

Value

The effective value to use

Arguments

name

Option name ("paral", "block_size", "threads", or "compression")

default

Fallback value if option is NULL

override

Value passed to method call (takes priority if not NULL/missing)