[R] write.csv and header

Walther, Alexander awalthermail at googlemail.com
Mon Dec 14 16:37:25 CET 2009


Dear list,

I would like to export a matrix to a TXT-File by using write.csv (not
necessarily). Is there a way to add a header (with additional
informations concerning the project) spanning multiple lines to this
file before the actual data are listed up? Should look like this:



date:
filename:
number of permutations:

------------

data (as a matrix)



Any suggestions? Thnx in advance.


cheers

Alex




More information about the R-help mailing list