emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: cberry
Subject: Re: [O] Output of R babel blocks with quotes is mangled/truncated
Date: Sun, 08 Jul 2012 08:28:14 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Viktor Rosenfeld <address@hidden> 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 expected result would be entire string, i.e. 'cat="S"' (without
> single quotes). Is there a workaround? I've tried escaping with
> backslashes to no avail.
>
> Cheers,
> Viktor
>
>

-- 
Charles C. Berry                            Dept of Family/Preventive Medicine
cberry at ucsd edu                          UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901




reply via email to

[Prev in Thread] Current Thread [Next in Thread]