powered by
Save a tableplot in pdf, eps, svg, wmf, png, jpg, bmp, or tiff format.
tableSave(tab, filename = paste(tab$dataset, ".pdf", sep = ""), device = default_device(filename), path = NULL, scale = 1, width = par("din")[1], height = par("din")[2], dpi = 300, onePage = TRUE, ...)
a tabplot-object, or a list of tabplot-objects, which are either stacked horizontally or put on multiple pages (for pdf only)
filename with extention (pdf, eps, svg, wmf, png, jpg, bmp, or tiff)
device, automatically extracted from filename extension
path to save to
scaling factor
width (in inches)
height (in inches)
dpi to use for raster graphics
if true, multiple tab objects are stacked horizontally, else they are printed on multiple pages
other arguments passed to plot or the used graphics device
plot
# NOT RUN { require(ggplot2) data(diamonds) # default tableplot tab <- tableplot(diamonds) # save tableplot tableSave(tab, filename="diamonds.png", title="Shine on you Crazy Diamond!!!") # }
Run the code above in your browser using DataLab