powered by
Get or set global options affecting functions across quatneda.
quanteda_options(..., reset = FALSE)
options to be set, as key-value pair, same as options
options
logical; if TRUE, reset all quanteda options to their default values
TRUE
When called using a key = value pair (where key can be a label or quoted character name)), the option is set and TRUE is returned invisibly.
key = value
key
When called with no arguments, a named list of the package options is returned.
When called with reset = TRUE as an argument, all arguments are options are reset to their default values, and TRUE is returned invisibly.
reset = TRUE
Currently available options are:
verbose
logical; if TRUE then use this as the default for all functions with a verbose argument
threads
integer; specifies the number of threads to use in use this as the setting in all functions that uee parallelization
# NOT RUN { quanteda_options() quanteda_options(verbose = FALSE) quanteda_options("verbose" = FALSE) quanteda_options("threads") # } # NOT RUN { quanteda_options(reset = TRUE) # }
Run the code above in your browser using DataLab