Re: rmarkdown-like production of multiple plots in org

2020-04-02 Thread Matt Price
Thanks Chuck and all other respondents. Huh. I'll keep experimenting. I like Chuck's idea of helper function that pipes theoutput as described but for now, it might actually beeasier to stay with Rmarkdown (!). thanks, Matt On Thu, Apr 2, 2020 at 1:39 PM Berry, Charles wrote: > > > > On Mar

Re: rmarkdown-like production of multiple plots in org

2020-04-02 Thread Berry, Charles
> On Mar 31, 2020, at 12:23 PM, Matt Price wrote: > > I'm completely new to R. > > I've started working with a project that creates plots using the ggplot > package -- so by default it creates grid objects, rather than writing to > files. > > In rmarkdown/rstudio, I can write something

Re: rmarkdown-like production of multiple plots in org

2020-03-31 Thread John Hendy
On Tue, Mar 31, 2020 at 2:22 PM Matt Price wrote: > > I'm completely new to R. > > I've started working with a project that creates plots using the ggplot > package -- so by default it creates grid objects, rather than writing to > files. > > In rmarkdown/rstudio, I can write something like

Re: rmarkdown-like production of multiple plots in org

2020-03-31 Thread Thomas S. Dye
Aloha Matt, A guess based on my experience with ggplot2 is that the auto-naming and saving take place in the functions plot2() and plot4(). If so, then calling them from Org mode babel blocks will also get you auto-naming and saving. I think you're right that you'll need to put each of the

rmarkdown-like production of multiple plots in org

2020-03-31 Thread Matt Price
I'm completely new to R. I've started working with a project that creates plots using the ggplot package -- so by default it creates grid objects, rather than writing to files. In rmarkdown/rstudio, I can write something like this in a SOMEFILE.Rmd : ``` install_github('eeholmes/CoV19')