datafile {oosp}R Documentation

create a data.frame object from a csv file

Description

This function is designed to be an alternative to the data function. It returns an object, and uses (uncompressed) csv files.

Usage

datafile (pkg, file, global=FALSE, preview=FALSE, ...)

Arguments

pkg The package name.
file The file name. If the package name is not given, this can be a path.
global If true, copy the data.frame's variables into the global environment.
preview If true, generate a preview, using the preview function.
... Arguments for a read.csv call.

[Package oosp version 0.2.3 Index]