Learn R Programming

mosaic (version 0.13.0)

docFile: Return the path to a documentation file in a package

Description

Return the path to a documentation file in a package

Usage

docFile(file, package = "mosaic", character.only = FALSE)

Arguments

file
the name of a file
package
the name of a package
character.only
a logical. If TRUE package names must be specified as character, else names will be converted as a convenience as is library and library.

Value

  • a character vector specifying the path to the file on the user's system.

Examples

Run this code
MustangPrice <- read.file(docFile("MustangPrice.csv", "mosaic"))

Run the code above in your browser using DataLab