--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+unsubscribe@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
print(p.rbs3.proCost.ASD <- scatterPlot(dat,x,y,group,"xlab","ylab"))
ggsave('./fig/working_files/p.rbs3.proCost.ASD.pdf')
Hi Jeremy,I've had great success using the methods outlined here: http://www.brodrigues.co/blog/2017-03-29-make-ggplot2-purrr/If a reprex were present, folks might be able to provide specific help....Sam
On Thu, Jul 13, 2017 at 9:27 AM, Jeremy Hogeveen <jeremy....@gmail.com> wrote:
Hi there,I'm writing an analysis script with many plot objects and am currently going through the tedious task of inserting a ggsave("filename") line after each one, and then copying / pasting the ggplot object name into the <filename> field. However, it would be ideal if there was a function I could write to pull the name of the most recent ggplot object into a variable and pipe that into the ggsave function as a filename.Does anyone have any suggestions on how to do this? Any advice much appreciated!Cheers,Jeremy
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+unsubscribe@googlegroups.com
More options: http://groups.google.com/group/ggplot2
---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+unsubscribe@googlegroups.com.