Skip to content

How to store data frames into pdf file and csv file.

8 messages · Bert Gunter, jim holtman, Yuan, Rebecca

#
Here is the script I ran to get PDF output which is attached:

x
# capture the output as a string vector
xo <- capture.output(x)
pdf('/temp/output.pdf')
plot.new()  # new page
# now add text to plot
text(0
    , 0.5
    , paste(xo, collapse = '\n')
    , family = 'mono'
    , cex = 0.6
    , adj = c(0,0)
    )
dev.off()


On Thu, Mar 21, 2013 at 9:49 AM, Yuan, Rebecca <
rebecca.yuan at bankofamerica.com> wrote: