From: cberry@tajo.ucsd.edu
To: emacs-orgmode@gnu.org
Subject: Re: Output of R babel blocks with quotes is mangled/truncated
Date: Sun, 08 Jul 2012 08:28:14 -0700 [thread overview]
Message-ID: <87ehomxofl.fsf@tajo.ucsd.edu> (raw)
In-Reply-To: 20120708032210.GB59773@kenny.fritz.box
Viktor Rosenfeld <listuser36@googlemail.com> 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
next prev parent reply other threads:[~2012-07-08 15:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-08 3:22 Output of R babel blocks with quotes is mangled/truncated Viktor Rosenfeld
2012-07-08 15:28 ` cberry [this message]
2012-07-08 20:47 ` Viktor Rosenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehomxofl.fsf@tajo.ucsd.edu \
--to=cberry@tajo.ucsd.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).