Sorry about that; hit send too soon. There's something odd happening to me tonight with R source blocks and :session. This works, and generates an image: #+BEGIN_SRC R :results graphics :file example.png plot(1) #+END_SRC But if I start an R session (M-x R) and then run this, with :session, I get an error. #+BEGIN_SRC R :session :results graphics :file example.png plot(1) #+END_SRC The error is + + Error: unexpected symbol in: "plot(1) },error=function(e){plot(x=-1:1, y=-1:1, type='n" That error= bit at the end looks related to my plot() example, but I don't think it is: the same error appears if I use ggplot2 (which is how I noticed it). This is with Emacs and Org compiled from current source trees. It was working earlier this week, but I've updated since then. I refreshed everything (including R packages) and still get the error. I looked at the recent Org commits but don't see what might have done it, but I also don't think I'm doing anything wrong. Bill -- William Denton ↔ Toronto, Canada ↔ https://www.miskatonic.org/