From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: org-babel's treatment of NA in R source block Date: Wed, 3 Oct 2012 16:16:20 +0900 Message-ID: <20121003071620.GA11903@panahar> References: <20121001225459.GA19395@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJJC0-0002OX-RE for emacs-orgmode@gnu.org; Wed, 03 Oct 2012 03:16:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJJBz-0002fJ-UQ for emacs-orgmode@gnu.org; Wed, 03 Oct 2012 03:16:28 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:43890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJJBz-0002fF-OZ for emacs-orgmode@gnu.org; Wed, 03 Oct 2012 03:16:27 -0400 Received: by pbbrq2 with SMTP id rq2so10370190pbb.0 for ; Wed, 03 Oct 2012 00:16:26 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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 > > > > I would like the NAs to be replaced by blank cells or by a less > > obstrusive character like a ".". Is there a simple way I could change > > this behaviour? > > > > Vikas > > > > > Aloha Vikas, > > One route might be the ascii package in R, which exports objects to > several markup languages, including Org. The ascii() argument na.print > is a character string that specifies how NA should appear in the output. > Thanks. That seems very good. But if the code block is directly producing org markup, what should I tell my parent org file to expect? My source block began like this: #+BEGIN_SRC R :results value :colnames yes :hline yes I would expect this to change now. How do I say that the result is already formatted for org? Vikas