Consistent wrapper around data()
that forces the promise. This is also a
stronger parallel to loading data from a file.
read_builtin(x, package = NULL)
An object of the built-in class of x
.
Name (character string) of data set to read.
Name of package from which to find data set. By default, all attached packages are searched and then the 'data' subdirectory (if present) of the current working directory.
read_builtin("mtcars", "datasets")
Run the code above in your browser using DataLab