Dear R and Tinn-R users,
i recently switched to Tinn-R and sending code to R works fine (R 2.8.1,
Tinn-R 2.2.0.2, OS Windows XP). However, i encountered a problem when
trying to send plots to pdf files like this:
library(lattice)
pdf("plot1.pdf")
PLOT<-(xyplot, ...)
PLOT
dev.off()
The file "plot1.pdf" is created, but it is empty.
If i paste the code above directly into the R console and run it, the file
"plot1.pdf" is created and in this case contains "PLOT".
I guess that some settings in Tinn-R are wrong, but i have no idea which.
Maybe someone has a suggestion?
Thanks,
Henning
--
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.