DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information.... |
Home Features of DataLab Loading and Storing Data Saving Data Exporting to a text file | ||||||||||||||||||||||
See also: Saving Data in ASC Format, Saving Data in IDT Format, Format of ASC files, Exporting XML Files
|
||||||||||||||||||||||
Exporting to a text file
An frequently-needed task is to create a text file which contains only selected variables of the data table. The command File/Save/Text File provides such an ability. The contents and the format of the file to be created can be configured interactively. The user may select any number of variables and can assign a specific data format to the column of each variable.
After selecting the command a window is displayed which serves to specify the contents and the format of the text file. This can be done either globally by clicking the commands of the sub-menu, or on an individual basis by clicking single variables in the variables-list box. The commands of the sub menu always affect the whole list of variables and comprise the following actions:
The format of the variables to be transferred to the text file can also be configured on an individual basis by using the list box at left. This window both shows the current set-up of the configuration and serves to change the set-up for each variable individually. The variable window shows the selection state and the format for each variable. Selected variables are checked. The format of the variable is displayed in the form 'fw:dp' (field width, decimal places) along with each variable and can be changed by clicking the appropriate number - left clicking decreases the number, right clicking increases it. In order to create a text file containing the selected variables, the user has to click the Do It button. A sample file is shown below. It has been created from a pesticide database, selecting five variables and various output formats. Selected variables of file H:\PESTI\ARSALL.IDT Created by DataLab: Dec-11, 1998 - 21:32:41 Object name lnKOC NRings Cl NO2 RandicIx -------------------------------------------------- ACEPHATE | 0.693 0 0 0 4.538 ALACHLOR | 5.136 1 1 0 8.689 ANCYMIDOL | 4.787 3 0 0 9.247 ASULAM | 3.689 1 0 0 6.954 ATRAZINE | 5.537 1 1 0 6.613 BENDIOCARB | 6.346 2 0 0 7.516 . . . . . . . . . . . . . . . . . . . . . TERBUFOS | 6.215 0 0 0 6.828 TERBUTRYN | 7.601 1 0 0 7.442 THIRAM | 6.507 0 0 0 5.447 TRIALLATE | 7.783 0 3 0 7.269 TRIFORINE | 5.298 1 6 0 10.108 VERNOLATE | 5.561 0 0 0 6.257
|