Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-11-30 Thread Jack Kamm
> 2) why does this [still] work for Jack? (Jack, what's M-x org-version for > you?) This thread is old, but I finally realized why we were having discrepant results. It's because I was installing org-plus-contrib from org-mode ELPA via package.el, which pulls from "maint" branch. Since I've

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-29 Thread John Hendy
On Tue, Oct 29, 2019 at 9:51 AM Jack Kamm wrote: > > > Closing the loop. I can confirm that my example works on this commit > > (one before the relevant change) (thanks, Chuck!). > > > > commit ed9bdfd220b75233e5bae2ef39164d14624060fa (HEAD) > > Merge: 0954d4c25 0ae2e656d > > Author: Marco Wahl

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-29 Thread Jack Kamm
> Closing the loop. I can confirm that my example works on this commit > (one before the relevant change) (thanks, Chuck!). > > commit ed9bdfd220b75233e5bae2ef39164d14624060fa (HEAD) > Merge: 0954d4c25 0ae2e656d > Author: Marco Wahl > Date: Fri Oct 5 00:54:19 2018 +0200 > > Completely stumped

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-29 Thread John Hendy
On Mon, Oct 28, 2019 at 12:46 PM Jack Kamm wrote: > > > 2) why does this [still] work for Jack? (Jack, what's M-x org-version for > > you?) > > I tested on my laptop and desktop, both work for me, they are running the > following 2 versions of org: > > Org mode version 9.2.4

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-28 Thread Jack Kamm
> 2) why does this [still] work for Jack? (Jack, what's M-x org-version for > you?) I tested on my laptop and desktop, both work for me, they are running the following 2 versions of org: Org mode version 9.2.4 (9.2.4-13-g9a543b-elpaplus @ /home/jack/.emacs.d/elpa/org-plus-contrib-20190729/)

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-28 Thread John Hendy
On Mon, Oct 28, 2019 at 11:22 AM Berry, Charles wrote: > > > > > On Oct 28, 2019, at 12:43 AM, John Hendy wrote: > > > > On Mon, Oct 28, 2019 at 1:14 AM Jack Kamm wrote: > >> > >>> This is with emacs -Q and loading the minimal config from the initial > >>> email. Any ideas on where I might look

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-28 Thread Berry, Charles
> On Oct 28, 2019, at 12:43 AM, John Hendy wrote: > > On Mon, Oct 28, 2019 at 1:14 AM Jack Kamm wrote: >> >>> This is with emacs -Q and loading the minimal config from the initial >>> email. Any ideas on where I might look next? >> >> Sorry, I don't have many ideas here. Have you checked

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-28 Thread Dominique Dumont
On Monday, 28 October 2019 05:16:00 CET John Hendy wrote: > I just went to use what I think is how I used to include ggplot2 > results in PDF experts, but it's not working. [...] > My test file: > - > * test > > #+begin_src R :results output graphics :exports results :file foo.png >

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-28 Thread John Hendy
On Mon, Oct 28, 2019 at 1:14 AM Jack Kamm wrote: > > > This is with emacs -Q and loading the minimal config from the initial > > email. Any ideas on where I might look next? > > Sorry, I don't have many ideas here. Have you checked that ggplot works fine > in a regular R session? Indeed, it

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-28 Thread Jack Kamm
> This is with emacs -Q and loading the minimal config from the initial > email. Any ideas on where I might look next? Sorry, I don't have many ideas here. Have you checked that ggplot works fine in a regular R session? I tried again with emacs -Q and the minimal config below and it still

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-27 Thread John Hendy
On Mon, Oct 28, 2019 at 12:02 AM Jack Kamm wrote: > > John Hendy writes: > > > On Sun, Oct 27, 2019 at 11:31 PM Jack Kamm wrote: > >> > >> Your code block looks fine to me. The typical R code block headers I use > >> is as follows: > > > > Did you try to reproduce my example, by chance? > >

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-27 Thread Jack Kamm
John Hendy writes: > On Sun, Oct 27, 2019 at 11:31 PM Jack Kamm wrote: >> >> Your code block looks fine to me. The typical R code block headers I use is >> as follows: > > Did you try to reproduce my example, by chance? I've just now tried executing/exporting your example code blocks, and

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-27 Thread John Hendy
On Sun, Oct 27, 2019 at 11:31 PM Jack Kamm wrote: > > Your code block looks fine to me. The typical R code block headers I use is > as follows: Did you try to reproduce my example, by chance? > :session :results output graphics :file path/to/file.png :exports results > :eval never-export

Re: Refresher on including R/ggplot2 output via latex/pdf?

2019-10-27 Thread Jack Kamm
Your code block looks fine to me. The typical R code block headers I use is as follows: :session :results output graphics :file path/to/file.png :exports results :eval never-export One thing I've noticed, if I have an existing graphics device open, it can mess up plots when executing an

Refresher on including R/ggplot2 output via latex/pdf?

2019-10-27 Thread John Hendy
Greetings, I used to use orgmode + R/ggplot2 for some time, but for various reasons I've been using python almost exclusively for a couple years. I just went to use what I think is how I used to include ggplot2 results in PDF experts, but it's not working. In referring to the documentation, this