From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Recent bug? in R source blocks generating images Date: Fri, 08 Apr 2016 10:34:27 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoRsL-0002Uy-ON for emacs-orgmode@gnu.org; Fri, 08 Apr 2016 04:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoRsG-0006BM-Pj for emacs-orgmode@gnu.org; Fri, 08 Apr 2016 04:34:45 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:65409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoRsG-0006Ac-Fy for emacs-orgmode@gnu.org; Fri, 08 Apr 2016 04:34:40 -0400 In-Reply-To: (William Denton's message of "Thu, 7 Apr 2016 23:06:13 -0400 (EDT)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: William Denton Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable William Denton writes: > Sorry about that; hit send too soon. > > There's something odd happening to me tonight with R source blocks and :s= ession. > > 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 g= et an=20 > error. > > #+BEGIN_SRC R :session :results graphics :file example.png > plot(1) > #+END_SRC > > The error is > > + + Error: unexpected symbol in: > "plot(1) > },error=3Dfunction(e){plot(x=3D-1:1, y=3D-1:1, type=3D'n" > > That error=3D bit at the end looks related to my plot() example, but I do= n't think=20 > 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 wo= rking=20 > earlier this week, but I've updated since then. I refreshed everything=20 > (including R packages) and still get the error. I looked at the recent O= rg=20 > commits but don't see what might have done it, but I also don't think I'm= doing=20 > anything wrong. Working for me on OS X El Capitan GNU Emacs 25.0.92.1 (x86_64-apple-darwin15.3.0, NS appkit-1404.34 Version 1= 0.11.3 (Build 15D21)) of 2016-03-07 Org-mode version 8.3.4 (release_8.3.4-702-gcd47ab @ /Users/rainerkrug/.emac= s.d/org-mode/lisp/) but not working anymore on Org-mode version 8.3.4 (release_8.3.4-709-g519f78 @/Users/rainerkrug/.emacs= .d/org-mode/lisp/) than I went back to Org-mode version 8.3.4 (release_8.3.4-702-gcd47ab @/Users/rainerkrug/.emacs= .d/org-mode/lisp/) and it was not working either. But there was an update of ESS at the same time which should have caused this. OK - commit 9be858b of ESS is still fine. Could you please submit this to the ESS list? Cheers, Rainer > > Bill =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXB20XAAoJENvXNx4PUvmCkGYIAJORNWynxTqT4N0s6KsPKNTS mmWKvAnq0g/n9sZcy5z/KsRjBN6f/BB8M3fhRm6J1aCkjuBGAQael4wnm+Nrk2Q1 wk9KlBFLSf3SOvLmmAKs4CY6IAVBVxFyYTfaWHpjtWtrsUXVVo+uSrBCbeTNrEbX jkb6SISexkji5KFsN7xlzYLWPk+TFUDGWWYbJ0DM9ss1nNkBBlObFecdycr2EOw7 rcHsVZowdG/q6lwTdABMO/rTcWq7UAd1skGmqhIdFl6XA6OAO9p9r7sKAPui7fur t2vRvYnC3BCJsi1pbFD6BThkb/PSs21J1yin5XuvqWM/kIXG7d8ATByKsxR8txI= =PDFh -----END PGP SIGNATURE----- --=-=-=--