iris: Pick a color

Description Usage Arguments Details Value Author(s) References Examples

Description

Pick a Color From a Tcl/tk chooseColor Widget

Usage

1
    iris(n = 1, initial = "blue")

Arguments

n

A number of colors to select

initial

A character string containing a valid Tcl/tk color to use as the initial value of the widget.

Details

This function provides access to the Tcl/tk chooseColor widget, which is a platform-independent tool for selecting a color interactively from a small widget.

Value

A character vector of length n containing hexadecimal color representations.

Author(s)

Thomas J. Leeper

References

Tcl/tk chooseColor manual

Examples

1
2
3
4
5
## Not run: 
# pick three colors
iris(3)

## End(Not run)

leeper/arco documentation built on May 21, 2019, 12:36 a.m.