This internal function is called by exported functions to do the actual writing of the catalog.
WriteCat(catalog, file, num.row, row.order, row.header, strict)
A catalog as defined in ICAMS
with attributes added.
See as.catalog
for more details.
The path of the file to be written.
The number of rows in the file to be written.
The row order to be used for writing the file.
The row header to be used for writing the file.
If TRUE, then stop if additional checks on the input fail.