ECM follows:
Make a string of three characters :'A', '<TAB>', and 'B':
#+BEGIN_SRC R
res <- paste0("A","\t","B")
nchar(res)
#+END_SRC
#+RESULTS:
: 3
Make a src block in which the string appears literally, then execute the
resulting src block:
#+BEGIN_SRC R :results raw :wrap "src R"
res <- paste0("A","\t","B")
paste0("nchar(\"",res,"\")")
#+END_SRC
#+RESULTS:
#+BEGIN_src R
nchar("A B")
#+END_src
#+RESULTS:
: 10
Ouch!
--
I don't have time to dig into this now, but thought I'd get it on the
record.
Chuck