tl;dr Use this convenience function to print a dataframe as a png-plot: tab2grob(). Source the function here: https://sebastiansauer.github.io/Rcode/tab2grob.R Easiest way in R: source("https://sebastiansauer.github.io/Rcode/tab2grob.R") Printing csv-dataframes as ggplot plots Recently, I wanted to print dataframes not as normal tables, but as a png-plot. See: Why? Well, basically as a convenience function for colleagues who are not into using Markdown & friends. As I am preparing some stats stuff (see my new open access course material here) using RMarkdown, I wanted to prepare …