Write a (tab) delimited text file.

Share:

Description

A simple wrapper for write.table with the same options as read.delim

Usage

1

Arguments

df

a dataframe.

file

outputfile path.

quote

should elements of the dataframe be quoted for output.

row.names

should the output include rownames.

sep

the delimiter between fields.

...

other parameters passed to write.table.

Value

A tab delimited text file

See Also

read.delim

Examples

1
2
3
4
## Not run: 
x <- data.frame(a = I("a \" quote"), b = pi)
write.delim(x, file = "foo.tab")
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.