Re: [O] Output of R babel blocks with quotes is mangled/truncated

2012-07-08 Thread Viktor Rosenfeld
Hi Charles, cbe...@tajo.ucsd.edu wrote: > Viktor Rosenfeld writes: > > > Hi, > > > > if a value outputted by R in a Babel block contains quotes only the > > quoted parted is exported. > > > > Try > > #+begin_src R :results verbatim > q = 'cat="S"' > q > > #+end_src This is not a solution s

Re: [O] Output of R babel blocks with quotes is mangled/truncated

2012-07-08 Thread cberry
Viktor Rosenfeld writes: > Hi, > > if a value outputted by R in a Babel block contains quotes only the > quoted parted is exported. > Try #+begin_src R :results verbatim q = 'cat="S"' q #+end_src > Consider this: > > #+BEGIN_SRC R > q = 'cat="S"' > q > #+END_SRC > > #+RESULTS: > : S > > The

[O] Output of R babel blocks with quotes is mangled/truncated

2012-07-07 Thread Viktor Rosenfeld
Hi, if a value outputted by R in a Babel block contains quotes only the quoted parted is exported. Consider this: #+BEGIN_SRC R q = 'cat="S"' q #+END_SRC #+RESULTS: : S The expected result would be entire string, i.e. 'cat="S"' (without single quotes). Is there a workaround? I've tried escapin