RE: R code blocks in org version 9.5

2022-10-19 Thread Cook, Malcolm
> My R code blocks work fine in org 9.5. When I plot graph using base graphics > in session, it works fine. The problem is with lattice graphs. With below > header variables, code block works fine. > > #+begin_src R :session *R* :results graphics file :file test.png > library(lattice) >

Re: R code blocks in org version 9.5

2022-10-19 Thread William Denton
On 19 October 2022, Naresh Gurbuxani wrote: It seems that org 9.5 has simplified header arguments for R code blocks that use grid graphics. Org 9.4 requires :results output graphics file Org 9.5 requires :results output file Do other users find the same change? They both work for me,

Re: R code blocks in org version 9.5

2022-10-19 Thread Colin Baxter
> Naresh Gurbuxani writes: > It seems that org 9.5 has simplified header arguments for R code > blocks that use grid graphics. > Org 9.4 requires :results output graphics file > Org 9.5 requires :results output file > Do other users find the same change? > Sent

Re: R code blocks in org version 9.5

2022-10-19 Thread Naresh Gurbuxani
It seems that org 9.5 has simplified header arguments for R code blocks that use grid graphics. Org 9.4 requires :results output graphics file Org 9.5 requires :results output file Do other users find the same change? Sent from my iPhone > On Oct 19, 2022, at 8:59 AM, Naresh Gurbuxani >

Re: R code blocks in org version 9.5

2022-10-19 Thread Naresh Gurbuxani
Thanks to your suggestion, I was able to narrow down the problem. My R code blocks work fine in org 9.5. When I plot graph using base graphics in session, it works fine. The problem is with lattice graphs. With below header variables, code block works fine. #+begin_src R :session *R* :results

Re: R code blocks in org version 9.5

2022-10-18 Thread William Denton
On 18 October 2022, Naresh Gurbuxani wrote: Recently I started using org version 9.5 with my init.el that worked well for org 9.4 In org 9.5, I can run stand-alone R code blocks. But when I try to run them in a session, emacs hangs. I haven't had any problems like that, and I use R

R code blocks in org version 9.5

2022-10-18 Thread Naresh Gurbuxani
Recently I started using org version 9.5 with my init.el that worked well for org 9.4 In org 9.5, I can run stand-alone R code blocks. But when I try to run them in a session, emacs hangs. Have you seen this problem? Is there a solution? Thanks, Naresh Sent from my iPhone