[R] Save multiple plots in a single pdf file when the plots are generated by a single plot command

Debs Majumdar debs_stata at yahoo.com
Fri Jun 15 23:39:55 CEST 2012


Hi,

I am trying to save multiple plots in a single pdf file when  the plots are generated by a single plot command. I am using the "lordif" package which generates multiple plots with one command.

pdf("education.pdf") 
plot.lordif(ed_dif, labels = c("White", "African American"))
dev.off()

And this is not working at all. Thanks for your help.

Debs



More information about the R-help mailing list