show.latexConsole {microplot}R Documentation

Revisions of Hmisc latex and dvi functions that display the generated latex file on screen and divert the console log to a file. New print methods that display Operating System files (ps, docx, html) on screen.

Description

Revisions of Hmisc latex and dvi functions that display the generated latex file on screen and divert the console log to a file. New functions that display Operating System files ("psFilename", "msWordFilename", or "htmlFilename") on screen.

Usage


## S3 method for class 'latexConsole'
dvi(object, prlog=FALSE, nomargins=TRUE, width=5.5, height=7, ...,
                 ConsoleToFile=TRUE)

## S3 method for class 'latexConsole'
show(object)

## S3 method for class 'dvilC'
show(object, width = 5.5, height = 7,
           ConsoleToFile=TRUE)

## S3 method for class 'OSfilename'
print(x, wait=FALSE, ...)

## S3 method for class 'OSfilename'
show(x, wait=FALSE, ...)

Arguments

object

For show.latexConsole and dvi.latexConsole, a c("latexConsole","latex") object created by latex.trellis. For show.dvilC, a c("dvilC","dvi") object created by dvi.latexConsole.

x

ConsoleToFile

Logical. TRUE diverts 'latex' and 'dvips' console output to a file (and prints the file name). FALSE displays the console output on the 'R' console.

prlog, nomargins, width, height

See latex.

x

The generic functions for print and show require x as the argument name.

wait

Logical, defaults to FALSE. Argument to system command. FALSE indicates the print should run asynchronously, meaning the R interpreter is immediately ready for the next command. With TRUE the R interpreter would wait for the command to finish.

...

ignored

Details

Extensions to 'Hmisc' functions dvi.latex, show.latex, show.dvi.

Value

For dvi.latexConsole, a c('dvilC', 'dvi') object.

For show.latexConsole and show.dvilC, when viewer="dvips" a c("psFilename", "OSfilename") object, otherwise NULL.

For print.OSfilename, the input argument is returned invisibly. For show.OSfilename, NULL.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

See Also

latex, microplot-package.


[Package microplot version 1.0-45 Index]