From 13ef8051ed1d91a0454c3d213a589cdd53641908 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 14 May 2009 06:59:17 -0700 Subject: [PATCH] refined understanding of the quoting issue --- rorg.org | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/rorg.org b/rorg.org index a8cdb4b9a..51b5283ff 100644 --- a/rorg.org +++ b/rorg.org @@ -315,10 +315,9 @@ example in the [[* emacs lisp source reference][emacs lisp source reference]]. * Bugs [4/5] ** TODO extra quotes for nested string -when string are nested 2 deep in org-mode tables their quotes aren't -being stripped +It looks like the problem is actually R not reading tables well -these should not be quoted +these *should* be quoted #+srcname: ls #+begin_src sh :results replace ls @@ -342,9 +341,34 @@ ls #+srcname: ruby-quote-test #+begin_src ruby -[3, 4, 5] +[["3"], ["eric"], ["5"]] #+end_src +| "3" | +| "eric" | +| "5" | + +#+srcname: read-quoted-table +#+begin_src ruby :var tab=ruby-quote-test +tab[1][0] +#+end_src + +#+srcname: ruby-no-quotes +#+begin_src ruby +["3", "eric", "9"] +#+end_src + +| "3" | "eric" | "9" | + +#+srcname: elisp-no-quotes +#+begin_src emacs-lisp +(list "3" "eric" "9") +#+end_src + +| "3" | "eric" | "9" | + + + ** RESOLVED simple ruby arrays not working As an example eval the following. Adding a line to test