Output results to a single postscript document
Pele <drdionc <at> yahoo.com> writes:
I have been trying to output all my results (text, plots, etc) into the same postscript file as one document, but have been unable to...Can anyone help me improve my code below so that I can accomplish this? Currently I have to output them separately then piece them back together into options (scipen=999, digits=7) library(foreign)
...
tdata <- ts(read.table("C:/tmp/data.csv" ,sep = ",",header=TRUE))
print(tdata)
res <- function(dep, indep, fn, env = parent.frame()) {
depnm <- deparse(substitute(dep))
... Your example is not reproducible because data.csv is not available. And better truncate the list of libraries to the absolute minimum, which is void as I guess. Sometime, problems only turn up because of interactions between libraries. I do not know of a solution with ps, but there is one for pdf, and several alternatives for HTML. See Greg Snow's summary at http://markmail.org/message/yi4w2xmleb6hwcph Dieter