Displays MARK output file or input file with MarkViewer (notepad.exe by default) so it can be viewed.
# S3 method for mark
print(x,...,input=FALSE)
None
mark model object; or list of mark model objects created with
collect.models
additional non-specified argument for S3 generic function
if TRUE, prints mark input file; otherwise the output file
Jeff Laake
If the model has been run (model$output
exists) the output file
stored in the directory as identified by the basefile name
(model$output
) and the suffix ".out" is displayed with a call to
MarkViewer
. If input
is set to TRUE
then the MARK input
file is displayed instead. By default the MarkViewer
is notepad but
any program can be used in its place that accepts the filename as the first
argument. For example setting MarkViewer="wp"
will use wordperfect
(wp.exe) as long as wp.exe is in the search path. MarkViewer
must be
set during each R session, so it is best to include it in your .First
function to change it permanently. Since print.mark
is the generic
function to print mark
objects you can use it by just typing the name
of a mark
object at the R prompt and it will call print.mark
.
For example, if mod
is a mark
object then typing mod
is
the same as print.mark(mod)
summary.mark