Next: DATAPATHS Up: MacAnova Help File Previous: customize   Contents

data_files

Keywords: variables, files, input, output
Any data file that can be read by MacAnova must be a plain text or ascii
file.  If you create it in a word processor, be sure to save it as a
text or ascii file.

All versions of MacAnova correctly read text files in DOS and Windows
format (lines separated by carriage return and linefeed code), in
Macintosh format (lines separated only by carriage return code), and in
Unix/Linux format (lines separated only by linefeed code).

The only known limitation is that no more than a fixed number of
characters will be scanned in any single line.  This number is
determined by option 'maxlinelen' whose default in most versions is
2000.  If by some chance, you need to read a file containing lines
longer than this, you can increase it by, say

  Cmd> setoptions(maxlinelen:5000)

See topic 'vecread_file' for information on files containing a single
unstructured REAL or CHARACTER data set that can be read by vecread()
and readcols().

See topic 'matread_file' for information on files of named REAL,
LOGICAL, or CHARACTER data sets or structures that can be read by
matread() and read().  Data sets may contain coordinate labels and have
descriptive notes.  No single line can have more than 50 data items.

See topic 'macro_files' for information on files that can be read by
macroread() and read().

See topic 'files' for technical information on file names, default
directories or folders, and abbreviated file names of the form
"~/filename".

See topic 'DATAPATHS' for information on where MacAnova searches for
files.

See also matread(), read(), vecread(), readcols(), and macroread().


Gary Oehlert 2003-01-15