Learn R Programming

RcppOctave (version 0.18.1)

system.mfile: Path to Package M-files Standard Location

Description

system.mfile returns paths to .m files installed with packages.

Usage

system.mfile(..., package = "base")

Arguments

...
arguments passed to system.file.
package
a character string with the name of a single package. An error occurs if more than one package name is given.

Details

system.mfile is a shortcut for: system.file('m-files', ..., package = package) As such it returns empty strings if the requested file does not exist. If no arguments besides package are passed, it returns the full path to the package's sub-directory m-files/ -- if it exists.