writeCdf | R Documentation |
This function creates a binary CDF file given a valid CDF structure containing all necessary elements.
Warning: The API for this function is likely to be changed in future versions.
writeCdf(fname, cdfheader, cdf, cdfqc, overwrite=FALSE, verbose=0)
fname |
name of the CDF file. |
cdfheader |
A list with a structure equal to the output of |
cdf |
A list with a structure equal to the output of
|
cdfqc |
A list with a structure equal to the output of |
overwrite |
Overwrite existing file? |
verbose |
how verbose should the output be. 0 means no output, with higher numbers being more verbose. |
This function has been validated mainly by reading in various ASCII or binary CDF files which are written back as new CDF files, and compared element by element with the original files.
This function is used for its byproduct: creating a CDF file.
Kasper Daniel Hansen
To read the CDF "regular" and QC units with all necessary fields
and values for writing a CDF file, see readCdf
,
readCdfQc
() and readCdfHeader
.
To compare two CDF files, see compareCdfs
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.