emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel R :results output changes with block level :session setting
@ 2012-06-02  1:11 Greg Tucker-Kellogg
  2012-06-05 14:45 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Tucker-Kellogg @ 2012-06-02  1:11 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-05 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-02  1:11 org-babel R :results output changes with block level :session setting Greg Tucker-Kellogg
2012-06-05 14:45 ` Eric Schulte

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).