Short and sweet: how can I export TSV/CSV from R?
write.table / write.csv almost works:
write.table
write.csv
test <- data.frame(a = 2 :
you could also consider excluding the row names row.names = FALSE
row.names = FALSE
You can use col.names = NA:
col.names = NA
write.table(test, file='test.tsv', quote=FALSE, sep='\t', col.names = NA)