Skip to content
Prev 44932 / 398528 Next

adding header info to write.table

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