| prOutputDefaults {tinyProject} | R Documentation |
Set default values of output functions
Description
This function can modify the default values of the parameters of output
function like prWriteTable or prPdf. This can be
useful for instance to set in one and only one location the default size
of output images, the default font...
Usage
prOutputDefaults(table = NA, image = NA, pdf = NA, cairo = NA)
Arguments
table |
Named list. The names correspond to argument names of |
image |
Named list. The names correspond to argument names of |
pdf |
Named list. The names correspond to argument names of |
cairo |
Named list. The names correspond to argument names of |
Value
prOutputDefaults invisibly returns the list of modified defaults
values.
Examples
# Remove row names of table output:
prOutputDefaults(table = list(row.names = FALSE))
# Modify the default size of pdf output:
prOutputDefaults(pdf = list(width = 8, height = 6))
# Reset default values for pdf and table output
prOutputDefaults(table = NULL, pdf = NULL)