loadex: Sources example files

Description Usage Arguments Details Value Author(s)

Description

Facilitates learning a new package, by sourcing any specified example file for an installed package.

Usage

1
loadex(pkg,exfile=NA,subdir="examples")

Arguments

pkg

Package name, quoted.

exfile

Desired example file name, if any, quoted.

subdir

Subdirectory name of the examples directory in the package.

Details

Loads the example file exfile, from the subdir directory within the tree wherepkg is installed. If exfile = NA, the names of the files are returned, without any loading.

Value

See the case exfile = NA above.

Author(s)

Norm Matloff



Search within the Rdsm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.