Learn R Programming

gdiff (version 0.2-5)

gdiffExamplesOutput: Generate Output Files from Function Examples

Description

Generate a set of graphical output files by running the examples from the help page for a function.

Usage

gdiffExamplesOutput(fun, dir, ...)
# S3 method for function
gdiffExamplesOutput(fun, dir, name=NULL, ...)
# S3 method for character
gdiffExamplesOutput(fun, dir, name=fun, ...)

Value

A character vector containing the names (and paths) of all output files that were generated.

Arguments

fun

Either a function or the name of a function.

dir

The name of a directory in which to create output files.

name

A name to be used for output files.

...

Further arguments; see gdiffOutput.

Author

Paul Murrell

See Also

gdiffOutput and gdiffPackageOutput.

Examples

Run this code
# \donttest{
gdiffExamplesOutput(plot, dir=file.path(tempdir(), "Control"))
# }

Run the code above in your browser using DataLab