powered by
Read a TAF table from a file into a data frame.
read.taf(file, check.names = FALSE, stringsAsFactors = FALSE, fileEncoding = "UTF-8", ...)
A data frame in TAF format, 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".
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 TAF table to a file.
write.taf
icesTAF-package gives an overview of the package.
icesTAF-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