Learn R Programming

mintyr (version 0.1.0)

mintyr_example: Get path to mintyr examples

Description

mintyr comes bundled with a number of sample files in its inst/extdata directory. Use mintyr_example() to retrieve the full file path to a specific example file.

Usage

mintyr_example(path = NULL)

Value

Character string containing the full path to the requested example file.

Arguments

path

Name of the example file to locate. If NULL or missing, returns the directory path containing the examples.

See Also

mintyr_examples() to list all available example files

Examples

Run this code
# Get path to an example file
mintyr_example("csv_test1.csv")

Run the code above in your browser using DataLab