microplot (version 1.0-42)

show.latexConsole: 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 latexConsole
dvi(object, prlog=FALSE, nomargins=TRUE, width=5.5, height=7, ...,
                 ConsoleToFile=TRUE)

# S3 method for latexConsole show(object)

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

# S3 method for OSfilename print(x, ...)

# S3 method for OSfilename show(x, ...)

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.

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.

ignored

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.

Details

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

See Also

latex, microplot-package.