From mboxrd@z Thu Jan 1 00:00:00 1970 From: cberry@tajo.ucsd.edu Subject: Re: Output of R babel blocks with quotes is mangled/truncated Date: Sun, 08 Jul 2012 08:28:14 -0700 Message-ID: <87ehomxofl.fsf@tajo.ucsd.edu> References: <20120708032210.GB59773@kenny.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SntPW-0003fb-QU for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 11:28:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SntPU-00021D-T7 for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 11:28:34 -0400 Received: from plane.gmane.org ([80.91.229.3]:42551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SntPU-000212-MU for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 11:28:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SntPR-0002bX-D0 for emacs-orgmode@gnu.org; Sun, 08 Jul 2012 17:28:29 +0200 Received: from tajo.ucsd.edu ([137.110.122.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jul 2012 17:28:29 +0200 Received: from cberry by tajo.ucsd.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jul 2012 17:28:29 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 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