Facilitates learning a new package, by sourcing any specified example
file for an installed package.
Usage
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.
Value
exfile = NA above.
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.