Learn R Programming

mintyr (version 0.1.0)

mintyr_examples: List all available example files in mintyr package

Description

mintyr comes bundled with a number of sample files in its inst/extdata directory. This function lists all available example files, optionally filtered by a pattern.

Usage

mintyr_examples(pattern = NULL)

Value

A character vector containing the names of example files. If no files match the pattern or if the example directory is empty, returns a zero-length character vector.

Arguments

pattern

A regular expression to filter filenames. If NULL (default), all available files are returned.

See Also

mintyr_example() to get the full path of a specific example file

Examples

Run this code
# List all example files
mintyr_examples()

Run the code above in your browser using DataLab