Learn R Programming

sets (version 0.2-1)

options: Options for the set package

Description

Function for getting and setting options for the set package.

Usage

set_options(option = NULL, value = NULL)

Arguments

option
character string indicating the option to be retreived or set (see details). If NULL, all options are returned as a list.
value
if NULL, the specified option is returned, else set.

Details

The only option currently available is "quote", specifying if the labels for character elements are quoted or not (default: FALSE).

Examples

Run this code
set_options()
set_options("quote", TRUE)
print(set("a"))
set_options("quote", FALSE)
print(set("a"))

Run the code above in your browser using DataLab