Browse Source

Unimportant changes to org-babel.org (need for these to be merged into
master branch)

Dan Davison 16 years ago
parent
commit
ad6eaadd39
1 changed files with 20 additions and 9 deletions
  1. 20 9
      org-babel.org

+ 20 - 9
org-babel.org

@@ -2568,18 +2568,21 @@ To run these examples evaluate [[file:lisp/org-babel-init.el][org-babel-init.el]
 date
 #+end_src
 
-: Thu May 14 18:52:25 EDT 2009
+#+resname:
+: Sun Jul  5 18:54:39 EDT 2009
 
 #+begin_src ruby
 Time.now
 #+end_src
 
-: Thu May 14 18:59:09 -0400 2009
+#+resname:
+: Sun Jul 05 18:54:35 -0400 2009
 
 #+begin_src python
 "Hello World"
 #+end_src
 
+#+resname:
 : Hello World
 
 
@@ -2587,21 +2590,17 @@ Time.now
 
 #+begin_src R :results replace
 a <- 9
-b <- 17
+b <- 16
 a + b
 #+end_src
 
 #+resname:
-: 26
-
-
 : 25
 
 #+begin_src R
 hist(rgamma(20,3,3))
 #+end_src
 
-
 ** org-babel plays with tables
 Alright, this should demonstrate both the ability of org-babel to read
 tables into a lisp source code block, and to then convert the results
@@ -2638,6 +2637,7 @@ out...
 '(1 2 3 4 5)
 #+end_src
 
+#+resname:
 | 1 | 2 | 3 | 4 | 5 |
 
 *** Ruby and Python
@@ -2646,18 +2646,29 @@ out...
 table.first.join(" - ")
 #+end_src
 
-: "1 - 2 - 3"
+#+resname:
+: 1 - 2 - 3
 
-#+begin_src python :var table=sandbox :results replace
+#+begin_src python :var table=sandbox
 table[0]
 #+end_src
 
+#+resname:
+: [1, 2, 3]
+
+
+
+
 | 1 | 2 | 3 |
 
 #+begin_src ruby :var table=sandbox :results replace
 table
 #+end_src
 
+#+resname:
+: [[1, 2, 3], [4, "schulte", 6]]
+
+
 | 1 |         2 | 3 |
 | 4 | "schulte" | 6 |