Skip to contents

Read File from Package's extdata Folder

Usage

readPackageFile(file, package, stringsAsFactors = FALSE, ...)

Arguments

file

name of file (without path)

package

name of the package from which to read the file

stringsAsFactors

passed to utils::read.csv (default: FALSE)

...

further arguments passed to utils::read.csv

Value

result of reading file with utils::read.csv