options | R Documentation |
Function for getting and setting options for the slam package.
slam_options(option, value)
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. |
Currently, the following options are available:
"max_dense"
:numeric specifying the maximum length
of dense vectors (default: 2^24
).
simple_sparse_array
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.