read.taf | R Documentation |
Read a TAF table from a file into a data frame.
read.taf(file, check.names = FALSE, stringsAsFactors = FALSE,
fileEncoding = "UTF-8", ...)
file |
a filename. |
check.names |
whether to enforce regular column names, e.g. convert
column name |
stringsAsFactors |
whether to import strings as factors. |
fileEncoding |
character encoding of input file. |
... |
passed to |
Alternatively, file
can be a directory or a vector of filenames, to
read many tables in one call.
A data frame in TAF format, or a list of data frames if file
is a
directory or a vector of filenames.
This function gives a warning when column names are missing or duplicated. It also gives a warning if the data frame has zero rows.
read.csv
is the underlying function used to read a table from a
file.
write.taf
writes a TAF table to a file.
TAF-package
gives an overview of the package.
## Not run:
write.taf(catage.taf, "catage.csv")
catage <- read.taf("catage.csv")
write.taf(catage)
file.remove("catage.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.