issue resolved, table import seems to be working w/o problems

This commit is contained in:
Eric Schulte 2009-05-14 07:12:05 -07:00
parent 13ef8051ed
commit 1e01e18a5f
1 changed files with 11 additions and 32 deletions

View File

@ -312,10 +312,10 @@ This is currently working only with emacs lisp as in the following
example in the [[* emacs lisp source reference][emacs lisp source reference]]. example in the [[* emacs lisp source reference][emacs lisp source reference]].
* Bugs [4/5] * Bugs [5/5]
** TODO extra quotes for nested string ** DONE extra quotes for nested string
It looks like the problem is actually R not reading tables well Well R appears to be reading the tables without issue...
these *should* be quoted these *should* be quoted
#+srcname: ls #+srcname: ls
@ -334,40 +334,19 @@ ls
| "test-export.html" | | "test-export.html" |
| "test-export.org" | | "test-export.org" |
#+srcname: none #+srcname: test-quotes
#+begin_src emacs-lisp :var ls = ls :results silent #+begin_src ruby :var tab=ls
(message (format "ls=%S" ls))
#+end_src
#+srcname: ruby-quote-test
#+begin_src ruby
[["3"], ["eric"], ["5"]]
#+end_src
| "3" |
| "eric" |
| "5" |
#+srcname: read-quoted-table
#+begin_src ruby :var tab=ruby-quote-test
tab[1][0] tab[1][0]
#+end_src #+end_src
#+srcname: ruby-no-quotes : README.markdown
#+begin_src ruby
["3", "eric", "9"] #+srcname: test-quotes
#+begin_src R :var tab=ls
as.matrix(tab[2,])
#+end_src #+end_src
| "3" | "eric" | "9" | : README.markdown
#+srcname: elisp-no-quotes
#+begin_src emacs-lisp
(list "3" "eric" "9")
#+end_src
| "3" | "eric" | "9" |
** RESOLVED simple ruby arrays not working ** RESOLVED simple ruby arrays not working