CoStat Home Page
CoStat Without the GUI
(Or, how to do data
manipulation and statistics from the command line,
batch files, shell
scripts, pipes, Java programs, Perl, Python, Rexx, Tcl, etc.)
You can bypass the graphical front end of CoStat in order to do data
manipulate and statistics from the command line, batch files, shell scripts,
pipes, Java programs, Perl, Python, Rexx, Tcl, etc.
When you run CoStat, you are really running a graphical front end to a large
number of Java classes. You can also get access to all of these classes via a
Java class called CoData (which comes with CoStat). There are two ways
to use CoData:
- CoData is a text-mode program which can run a CoData macro file (an actual
file or a stream from a pipe). CoData's macro language is a subset of Java.
This approach is useful if you want to write another program (in any language)
to generate a CoData macro file on the fly (for example, on a server), pipe
that into CoData, and pipe the results into some other program.
- CoData is a Java class, so you can write another Java source code file
which extends CoData, thereby gaining access to all of the procedures in
CoData. This approach is useful if you want write a Java program that uses the
services that CoData provides (basically, all of the data manipulation and
statistical analysis procedures in CoStat). To use this approach, you can
write your program in Java and use a Java compiler (Java Developer Kits are
freely available from Sun and other companies). Or, you can write your program
in another language that can access Java procedures (for example, Perl,
Python, Rexx, or Tcl).
Documentation and examples of this are in the
CoStat manual (see "CoData" in the index).
CoStat Home Page |
Top
All material Copyright © 1996-2001 CoHort Software. All rights
reserved.