Next: contrast() Up: MacAnova Help File Previous: compnames()   Contents

console()

Usage:
y <- console()



Keywords: files, input
                                  Usage
y <- console() uses a pre-defined macro to read a vector using variable
CONSOLE as the filename.  This results in a request to type the data in,
terminating it with '!'.  This has the advantage over y <- vector(1.3,
4.5, 6.7, 2.5, ... ), say, in that the commas do not need to be typed.
Variable CONSOLE can be used with any operation that reads or writes a
file.  Its value is ignored.

Command vecread() is used by console() so you can use '?' to specify
missing data.

On a windowed versions, you enter data into a dialog box.  Pressing
Return or clicking on the OK button ends a line.  The Done button
terminates the data.

                             Keyword 'echo'
y <- console(echo:F) suppresses any echoing of lines read.  Such echoing
is the default behavior on windowed versions, or when using console() in
a batch file on any system.

                            Cross references
See vecread().


Gary Oehlert 2005-08-12