Learn R Programming

odfWeave (version 0.4.1)

odfWeaveControl: Control odfWeave options

Description

Allows the user to specify how odfWeave operates and style information for the document.

Usage

odfWeaveControl(
    zipCmd = c("zip -r $$file$$ .", "unzip -o $$file$$"), 
    cleanup = FALSE, verbose = TRUE, plotType = "png", 
    plotDevice = ifelse(.Platform$OS.type == "windows", "png", "bitmap"), 
    plotHeight = ifelse(plotType %in% c("jpg", "png", "gif", "bmp"), 480, 6), 
    plotWidth = ifelse(plotType %in%  c("jpg", "png", "gif", "bmp"), 480, 6), 
    dispHeight = 4.5, dispWidth = 4.5)

Arguments

zipCmd
a string for the zipping/unzipping the odt file. The token $$file$$ will be gsub'ed with the file name.
cleanup
a logical: remove the working directory?
verbose
a logical: should details be printed?
plotType
the image type
plotDevice
the R device to use
plotHeight
height of the image as displayed in the document
plotWidth
width of the image as displayed in the document
dispHeight
height of the image as displayed in the document
dispWidth
width of the image as displayed in the document

Value

  • a list with element for each of the arguments above.

See Also

odfWeave

Examples

Run this code
odfWeaveControl(cleanup = TRUE)

Run the code above in your browser using DataLab