浏览代码

refined understanding of the quoting issue

Eric Schulte 16 年之前
父节点
当前提交
13ef8051ed
共有 1 个文件被更改,包括 28 次插入4 次删除
  1. 28 4
      rorg.org

+ 28 - 4
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