Import Data from R Package

Share:

Description

A GUI for loading selected data sets from R packages.

Usage

1
ImportPackage(classes = NULL, parent = NULL)

Arguments

classes

character; the object classes of data sets that can be loaded. Set to NULL to enable loading for all object classes.

parent

tkwin; the GUI parent window.

Value

Returns a list with the following components:

d

data.frame or matrix; data set.

src

character; a vector of length 3 that includes the dataset name, package name, and access date.

Author(s)

J.C. Fisher

See Also

data

Examples

1
## Not run: ans <- ImportPackage(c("data.frame", "matrix"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.