options: Options for the 'slam' package

Description Usage Arguments Details See Also Examples

Description

Function for getting and setting options for the slam package.

Usage

1
slam_options(option, value)

Arguments

option

character string indicating the option to get or set (see details). If missing, all options are returned as a list.

value

Value to be set. If omitted, the current value is returned.

Details

Currently, the following options are available:

"max_dense":

numeric specifying the maximum length of dense vectors (default: 2^24).

See Also

simple_sparse_array

Examples

1
2
3
4
5
6
7
8
9
## save defaults
.slam_options <- slam_options()
.slam_options

slam_options("max_dense", 2^25)
slam_options("max_dense")

## reset
slam_options("max_dense", .slam_options$max_dense)

slam documentation built on Dec. 26, 2019, 9:07 a.m.

Related to options in slam...