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


matloff/Rdsm documentation built on May 18, 2019, 8:08 p.m.