|
Good Evening,
I've written a script that generates a number of graphs. The script also produces a number of matrices (stored as data frames). Can I dump/write the data frame to a graphsheet in any simple way?
My first ham-handed attempt at this was to generate a placeholder plot and then use the text() function:
plot(c(0,1),c(0,1),type="n",xlab="",ylab="",axes=F) #blank sheet
text(0,1,data.frame) # to post the data -- this chokes, of course.
The goal is to dump the pics and data into a single document as efficiently as possible. I've got a number of these to process and share with coauthors and don't want to mix files (ie, jpegs/eps for the figures, text files for the data).
Thanks.
Chris.
|