[R] Need(?) way to create a "picture" (or "plot") of a data.frame

John McKown john.archie.mckown at gmail.com
Thu Jul 31 13:49:22 CEST 2014


OK, I'm probably using the wrong tool for this, but I'm doing
everything else in this project in R, so I'm looking at how to do this
too. I create a number of graphs using ggplot2. I use the png()
function before the print(..graph.variable..) in order to create a PNG
file which can be embedded in a MS PowerPoint display. This is working
fairly well.

But what I need now is a way to create a png file which is basically a
"picture" of what you might see when you simply display a data.frame
using Rstudio or even from the command prompt. I considered just using
sink() and print(), but I have two problems. First, it doesn't create
a PNG output. Second, I need to put in text annotations, title, etc.
So what I need might be what a "geom_data.table" would produce, if
such a thing existed in ggplot2.

Is there another "plotting" package which will do such a weird thing?

-- 
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown



More information about the R-help mailing list