Learn R Programming

tor (version 1.1.3)

tor_example: Easily access example data.

Description

Easily access example data.

Usage

tor_example(path = NULL)

Value

A character string listing available directories or a length-1 string giving a path to a directory.

Arguments

path

Length-1 character vector. A path to an available directory.

Author

Copied from readr_example() from the readr package, by Jim Hester and colleagues.

Examples

Run this code
tor_example()

tor_example("csv")

dir(tor_example("csv"))

Run the code above in your browser using DataLab