emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [babel] don't get the :result option


From: Detlef Steuer
Subject: [Orgmode] [babel] don't get the :result option
Date: Wed, 11 Nov 2009 14:12:49 +0100

Hi!

Making my first steps with org babel I'm running into this:

* R in org-mode
  May very well be the ultimate tool!

#+srcname: R-first :results output
#+begin_src R 
x <- runif(100)
y <- x + rnorm(100)
summary(lm(y ~x))
#+end_src

And I get "Source block produces no output" if I do C-c C-c.
Nevertheless: in R summary() produces output.

On the other hand:

#+srcname: R-second :results output
#+begin_src R 
x <- runif(10)
#+end_src

results in
#+resname: R-second
|  0.478928654454648 |
|  0.635543955955654 |
|   0.59639022895135 |
|  0.152170182904229 |
|  0.438571813516319 |
|  0.116913777310401 |
|   0.69362498424016 |
|  0.629256698768586 |
|  0.513565683504567 |
| 0.0796801506076008 |

Nevertheless that R command produces no output.

I guess I'm doing wrongly something very simple.
Can anybody help?

This is with R-2.10.0 and org-mode freshly compiled this morning from git, 
emacs 22.

Detlef
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]