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

Description Usage Arguments Details

View source: R/OctaveFunction-class.R

Description

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

Usage

1
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.


renozao/RcppOctave documentation built on June 30, 2017, 2:11 p.m.