exampleFiles {SoDA}R Documentation

Path to Files in the Examples Subdirectory

Description

Given one or more file names, returns the corresponding paths to files in the "Examples" subdirectory of a package. With the names argument missing, returns the names of all such files.

Usage

exampleFiles(names = character(), package = "SoDA")

Arguments

names Names of the files. For R source, the suffix such as ".R" will be added if omitted.
package The name of the package containing the "Examples" directory; by default, this package.

Value

Path names for all the matching files, or for all such files if names was missing.

Author(s)

John M. Chambers <jmc@r-project.org>

See Also

demoExample to run such files as demos.


[Package SoDA version 0.96 Index]