print.mark: Print MARK objects

View source: R/print.mark.R

print.markR Documentation

Print MARK objects

Description

Displays MARK output file or input file with MarkViewer (notepad.exe by default) so it can be viewed.

Usage

## S3 method for class 'mark'
print(x,...,input=FALSE)

Arguments

x

mark model object; or list of mark model objects created with collect.models

...

additional non-specified argument for S3 generic function

input

if TRUE, prints mark input file; otherwise the output file

Details

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)

Value

None

Author(s)

Jeff Laake

See Also

summary.mark


RMark documentation built on Aug. 14, 2022, 1:05 a.m.

Related to print.mark in RMark...