emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Tucker-Kellogg <gtuckerkellogg@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-babel R :results output changes with block level :session setting
Date: Sat, 2 Jun 2012 09:11:22 +0800	[thread overview]
Message-ID: <629FA7F0-31B5-4150-83FD-AAAA7D4C66E9@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

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 = list(width = 250, 
      height = 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



[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

             reply	other threads:[~2012-06-02  1:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-02  1:11 Greg Tucker-Kellogg [this message]
2012-06-05 14:45 ` org-babel R :results output changes with block level :session setting Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=629FA7F0-31B5-4150-83FD-AAAA7D4C66E9@gmail.com \
    --to=gtuckerkellogg@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).