Writecsv

From Eigenvector Research Documentation Wiki
Revision as of 14:25, 10 October 2008 by imported>Jeremy (New page: ===Purpose=== Export a DataSet object to a comma-separated values (CSV) file. ===Synopsis=== :writecsv(x,filename) ===Description=== Exports a comma-separated values text file based o...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Export a DataSet object to a comma-separated values (CSV) file.

Synopsis

writecsv(x,filename)

Description

Exports a comma-separated values text file based on the contents of a DataSet object. The csv file will include any axisscale, class, label and include information contained in the file as well as author, description, name and date details.

Inputs are the dataset to export (x) and an optional filename (filename). If filename is omitted, the user is prompted for an output filename.

Note that although the CSV file output is not directly readable by XCLREADR, an XLS file created by Excel from the CSV file will be readable by XLSREADR (i.e. read the CSV file into Excel, then save as XLS. The output XLS file will be readable by XLSREADR).

See Also

xlsreadr