[R] adding header info to write.table
Patrick Connolly
p.connolly at hortresearch.co.nz
Thu Feb 26 22:40:30 CET 2004
On Thu, 26-Feb-2004 at 04:15PM -0500, femke wrote:
|> Hello,
|>
|> Could someone please tell if there is a way to append header info
|> to the top of an exported dataframe (exported with write.table). I
|> want to append the following, which are the defininitions for an
|> asciigrid:
|> ncols 532
|> nrows 999
|> xllcorner 510465
|> yllcorner 4766375
|> cellsize 30
|> NODATA_value -9999
?write
then use append = TRUE when using write.table
HTH
--
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
More information about the R-help
mailing list