safe.call {ggplot2}R Documentation

A "safe" version of do.call

Description

safe.call works like do.call but it will only supply arguments that exist in the function specification.

Usage

safe.call(f, params, f.params = names(formals(f)), ignore.dots = TRUE)

Arguments

f function to call
params parameter names of function
f.params
ignore.dots

Details

If ... is present in the param list, all parameters will be passed through unless ignore.dots = TRUE. Positional arguments are not currently supported.

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package ggplot2 version 0.8.2 Index]