This is probably only of interest to developers. End users will probably wish to use more specific functions such as write.cmtkreg for writing out registrations.
write.cmtk(l, con, gzip = FALSE, version = NA_character_)
Appropriately formatted list
A character string specifying a path or a connection
Whether to gzip output file (default FALSE)
TYPEDSTREAM version number, defaults to
NB a version specified on the command line overrides one encoded as an attribute in the input list.