Peng Yu
2011-11-29 21:55:25 UTC
Hi,
pdf() can be used to create a multi-page pdf. But I don't see how to
create one with ggsave. Does anybody know?
#This will generate error
p=qplot(1:10,1:10)
ggsave(list(p,p), file='main.pdf')
#The second command will overwrite the first one
p=qplot(1:10,1:10)
ggsave(p, file='main.pdf')
ggsave(p, file='main.pdf')
pdf() can be used to create a multi-page pdf. But I don't see how to
create one with ggsave. Does anybody know?
#This will generate error
p=qplot(1:10,1:10)
ggsave(list(p,p), file='main.pdf')
#The second command will overwrite the first one
p=qplot(1:10,1:10)
ggsave(p, file='main.pdf')
ggsave(p, file='main.pdf')
--
Regards,
Peng
Regards,
Peng