Learn R Programming

gdiff (version 0.2-5)

gdiffOutput: Generate Graphical Output

Description

Generate a set of graphical output files.

Usage

gdiffOutput(x, dir, ...)
# S3 method for function
gdiffOutput(x, dir, name=deparse(substitute(x)), ...)

Value

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

Arguments

x

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, currently including:

clean

A logical indicating whether the output directories should be emptied. Can also be a list of logicals with names control, test, and compare.

device

A specification of the graphics device to use for output; see gdiffDevice. Can also be a list of graphics devices.

session

A specification of the R session to use for output; see gdiffSession. Can also be a list of sessions with names control and test.

ncpu

How many cpus to employ when generating output.

Author

Paul Murrell

See Also

gdiffExamplesOutput, gdiffPackageOutput, and gdiff.

Examples

Run this code
f <- function() plot(1)
# \donttest{
gdiffOutput(f, dir=file.path(tempdir(), "Control"))
# }

Run the code above in your browser using DataLab