I would like to export a data frame as a (png) image. I\'ve tried with this code, but the table get clipped vertically.
library(ggplot2) library(gridExtra)
You can do like this:
library(gridExtra) png("test.png", height = 50*nrow(df), width = 200*ncol(df)) grid.table(df) dev.off()