Export Data
When you are exporting to most file types, typically you only need to specify the data set, file name and file type and the data is exported into a new data file using default settings. You can specify your own settings on the Options page of the Export Data dialog.
All formats that can be imported from can be exported to with the exception of Sigma plot (*.jnb) files. ASCII files can be read by most applications.
Formatted ASCII export is available to the extent that fixed-width, non-delimited columns may be output by specifying a null, or empty, delimiter with the ASCII export option.
To export a data sheet
Choose File Export Data. Specify a data set and a file name for the exported data, then choose OK. The dialog shown below appears.
Data page
In the Export Data dialog, the Data page has an upper section that allows you to navigate, using the standard Explorer interface, to a particular directory and file to be exported. If the file already exists you are warned and have an opportunity to overwrite it or cancel the export.
In the Export Data dialog, the Data page has the following options:
Data Set Name
Data Set
Specify the name of the data set containing the columns and rows to be exported.
File
File Name
Specify the file name, and optionally the path of the file containing data to import.
A character string specifying the name of the file to export
Filter Page
In the Export Data dialog, the Filter page allows you to subset the data you export. By specifying a query, or filter, you gain additional functionality, such as saving a random sampling of the data. Use the examples and explanation of the filter syntax described below to create your statement. A blank filter is the default and results in all data being imported.
In the Export Data dialog, the Filter page has the following options:
Select Columns
A character vector of variable names, or numeric vector of column numbers, to be imported from the data file. Only one of keep and drop can be specified.
A character vector of variable names, or numeric vector of column numbers, that are not to be imported from data file. Only one of keep and drop can be specified.
Select Rows
A character string containing a logical expression for selecting the rows to be included in the return value.
Format Page
In the Export Data dialog, the Format page has the following options:
Export Names
Export Column Names
A logical flag, if TRUE the column names are also exported.
Export Row Names
A logical flag, if TRUE the row names are also exported.
Factor Columns
Quote Character Strings
A logical flag, if TRUE, quotes are placed around character strings.
Text Files
A character string specifying the character to use as a delimiter in an ASCII input file.
Specify the data types of the imported columns.