From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Tucker-Kellogg Subject: org-babel R :results output changes with block level :session setting Date: Sat, 2 Jun 2012 09:11:22 +0800 Message-ID: <629FA7F0-31B5-4150-83FD-AAAA7D4C66E9@gmail.com> Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/signed; boundary="Apple-Mail=_4E3601B2-E77A-40A7-8AFF-5AAE64CA50C8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SacsQ-0001uq-9r for emacs-orgmode@gnu.org; Fri, 01 Jun 2012 21:11:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SacsO-0003iG-GR for emacs-orgmode@gnu.org; Fri, 01 Jun 2012 21:11:33 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:52678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SacsO-0003hq-7a for emacs-orgmode@gnu.org; Fri, 01 Jun 2012 21:11:32 -0400 Received: by dakp5 with SMTP id p5so3670822dak.0 for ; Fri, 01 Jun 2012 18:11:29 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --Apple-Mail=_4E3601B2-E77A-40A7-8AFF-5AAE64CA50C8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I'm trying to use org-mode to reproduce the HTML slide show made with = knitr demonstrated at http://goo.gl/bOJJo . The following single code = block works #+BEGIN_SRC R :results output html library(googleVis) G <- gvisGeoChart(Exports, "Country", "Profit", options =3D list(width = =3D 250,=20 height =3D 120)) print(G) #+END_SRC and wraps it in the needed HTML block, but if I set :session on the = block the "R>" prompt is included in the output. If i set a file level = session property it works fine, but if on a single block inserts the = prompt. I was expecting these would behave identically. Is this the expected behavior? Greg --Apple-Mail=_4E3601B2-E77A-40A7-8AFF-5AAE64CA50C8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJPyWg8AAoJEJeUx0HgY+4FD50IAMgofme06ARzP+lQIgTYsS0c QIijnMjpUwijpHRWSDAFl9y1VhLDcCp6SSeeLrYtZbAUsoTkLu7xLNB99aJ4J1uu oF9sPHB5k7Qsjz7UpjcBhkCSAnTN0VD8lF6YdM0vIK6PFhv7a2j8WSeEtN3mtaE9 D20UcGoy3SUcLP+jGMB/8JCnUCZab5D1QrbLC+GhO3TkdM+27RzKLoLb8BNNytld U+f86qrjh3XwEpEarMDevm+1aL8MsLC3R2sNpktoti1vFBn5ojcEj9hi2P2/mg3o N1C3foufBeetC7XBxdxBZ/wgnhYI2HrLS2TrCuN2rXvx5826N4TXSr6ufXg5XXE= =cxfG -----END PGP SIGNATURE----- --Apple-Mail=_4E3601B2-E77A-40A7-8AFF-5AAE64CA50C8--