Learn R Programming

RSurvey (version 0.8-0)

ImportPackageData: Import Data from Package

Description

A GUI for loading selected data sets from R packages.

Usage

ImportPackageData(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:
  • ddata.frame or matrix; data set.
  • srccharacter; a vector of length 3 that includes the dataset name, package name, and access date.

See Also

data

Examples

Run this code
ans <- ImportPackageData(c("data.frame", "matrix"))

Run the code above in your browser using DataLab