powered by
Read from a CSV file into a data frame.
read.taf(file, check.names = FALSE, stringsAsFactors = FALSE, fileEncoding = "UTF-8", ...)
A data frame, or a list of data frames if file is a directory or a vector of filenames.
file
a filename.
whether to enforce regular column names, e.g. convert column name "3" to "X3".
"3"
"X3"
whether to import strings as factors.
character encoding of input file.
passed to read.csv.
read.csv
Alternatively, file can be a directory or a vector of filenames, to read many tables in one call.
read.csv is the underlying function used to read a table from a file.
write.taf writes a data frame to a CSV file.
write.taf
TAF-package gives an overview of the package.
TAF-package
if (FALSE) { write.taf(catage.taf, "catage.csv") catage <- read.taf("catage.csv") write.taf(catage) file.remove("catage.csv") }
Run the code above in your browser using DataLab