Learn R Programming

RSurvey (version 0.8-3)

ImportPackage: Import Data from R Package

Description

A GUI for loading selected data sets from R packages.

Usage

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.

See Also

data