small changes to org-babel-worg.org
This commit is contained in:
parent
9f337b983c
commit
f6f514596a
|
@ -52,19 +52,23 @@ git clone git://github.com/eschulte/org-babel.git
|
||||||
results of excecution. E.g. place point anywhere in the following
|
results of excecution. E.g. place point anywhere in the following
|
||||||
block and use C-c C-c to run the code:
|
block and use C-c C-c to run the code:
|
||||||
|
|
||||||
|
[[http://www.ruby-lang.org/][Ruby]] source code
|
||||||
#+begin_src ruby
|
#+begin_src ruby
|
||||||
"This file was last evaluated on #{Date.today}"
|
"This file was last evaluated on #{Date.today}"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Results of Ruby evaluation
|
||||||
#+resname:
|
#+resname:
|
||||||
: This file was last evaluated on 2009-08-09
|
: This file was last evaluated on 2009-08-09
|
||||||
|
|
||||||
|
[[http://www.r-project.org/][R]] source code
|
||||||
#+begin_src R :results value
|
#+begin_src R :results value
|
||||||
x = 4
|
x = 4
|
||||||
date()
|
date()
|
||||||
c(5, 10)
|
c(5, 10)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Results of R evaluation
|
||||||
#+resname:
|
#+resname:
|
||||||
| 5 |
|
| 5 |
|
||||||
| 10 |
|
| 10 |
|
||||||
|
@ -90,7 +94,7 @@ c(5, 10)
|
||||||
users).
|
users).
|
||||||
**** Additional :results settings
|
**** Additional :results settings
|
||||||
|
|
||||||
*** QUOTE Arguments to source code blocks
|
*** Arguments to source code blocks
|
||||||
In addition to evaluation of code blocks, org-babel allows them to
|
In addition to evaluation of code blocks, org-babel allows them to
|
||||||
be parameterised (i.e. have arguments). Thus source code blocks
|
be parameterised (i.e. have arguments). Thus source code blocks
|
||||||
now have the status of *functions*.
|
now have the status of *functions*.
|
||||||
|
|
Loading…
Reference in New Issue