[R] Need(?) way to create a "picture" (or "plot") of a data.frame
Jim Lemon
jim at bitwrit.com.au
Thu Jul 31 14:17:47 CEST 2014
On Thu, 31 Jul 2014 06:49:22 AM John McKown wrote:
> 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?
Hi John,
Maybe the addtable2plot function (plotrix) with an empty plot.
Jim
More information about the R-help
mailing list