R Default Image Colors

DESCRIPTION:

Named character vector containing the RGB hex string values for the 12 colors that R uses by default in its image function. They can be used to set the default image palette if the goal is to use the same colors in S-PLUS as in R.

EXAMPLES:

# Create the 12 default image colors
heat.colors(12)

# Set the default palette and image palette to match R
palette(r.default.colors)
image.palette(r.default.image.colors)