exampleFiles {SoDA} | R Documentation |
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.
exampleFiles(names = character(), package = "SoDA")
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. |
Path names for all the matching files, or for all such files if names
was missing.
John M. Chambers <jmc@r-project.org>
demoExample
to run such files as demos.