# [R] write.table: adapt end of line

Ferri Leberl ferri.leberl at gmx.at
Fri Feb 26 11:06:55 CET 2016


Hi everyone!

I want to include a table into LaTeX. I have a fitting environment and don't want to deal with xtable, so only the core of the table should be exported with something like

write.table(liste,"empf.csv",sep="&",quote=FALSE,row.names=F)

What I need is a way to end every row with \\\hline. If I simply enlarge the table by a column with this content, I will obviously end up with a & too much in every row.

Can anyone tell me a solution?