Learn R Programming

loon.data (version 0.1.3)

pkg_data: Simple summary of data available in named packages

Description

Simple summary of data available in named packages

Usage

pkg_data(package = NULL)

Arguments

package

A character vector giving the package(s) to look in for data sets, or NULL. By default, all packages in the search path are used, then the <U+2018>data<U+2019> subdirectory (if present) of the current working directory.

Details

Syntactic sugar wrapping call to utils::data(package = package) to return basic information on datasets in package. No data are loaded by the call.

See Also

data

Examples

Run this code
# NOT RUN {
head(pkg_data("loon.data"))
# }

Run the code above in your browser using DataLab