From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Prompts again WAS Re: avoiding source block prompts Date: Tue, 27 Jul 2010 13:15:52 -0700 Message-ID: References: <87bp9sbxe6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from [140.186.70.92] (port=58076 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdqZB-0005du-15 for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 16:15:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdqZ8-0004VL-G5 for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 16:15:56 -0400 Received: from tajo.ucsd.edu ([137.110.122.165]:47121) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdqZ8-0004Uo-7T for emacs-orgmode@gnu.org; Tue, 27 Jul 2010 16:15:54 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org Eric, I spoke too soon. Have a look at the following. You'll see that the prompts show up there. :-( Chuck #+begin_src R :session :results output ### create x x <- data.frame(a=rnorm(2),b=rnorm(2)) ### now print the result x #+end_src #+results: : : > > a b : 1 0.2702748 -0.2938296 : 2 1.1095136 0.1769425 On Tue, 27 Jul 2010, Charles C. Berry wrote: > On Tue, 27 Jul 2010, Eric Schulte wrote: > >> Hi Charles, >> >> I just pushed up a fix for the extra prompts in your output. You will >> still have a blank line (the output from "x <- rnorm(1)"), however you >> can suppress that line by placing the "x <- rnorm(1)" command in a >> previous code block in the same session. > > Eric, > > Thanks. That works for me. > > Chuck > >> >> Best -- Eric >> >> "Charles C. Berry" writes: >> >> > I think this is a new feature or perhaps a bug, which I noticed when >> > upgrading to version 7.01. >> > >> > The newline and the two prompts '> >' in the results block below did >> > not show up in the earlier versions I used. >> > >> > If this is a 'feature', is there a clean way to change this behavior? >> > >> > If this is a bug, is there a simple patch to fix it? >> > >> > #+begin_src R :session :results output >> > ### create x >> > x <- rnorm(1) >> > ### now print the result >> > x >> > #+end_src >> > >> > #+results: >> > : >> > : > > [1] 2.186783 >> > >> > >> > What I would have liked is to have something that looks like this: >> > >> > #+results: >> > : [1] 2.186783 >> > >> > Thanks, >> > >> > Chuck >> > >> > >> > Charles C. Berry (858) 534-2098 >> > Dept of Family/Preventive >> > Medicine >> > E mailto:cberry@tajo.ucsd.edu UC San Diego >> > http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego >> > 92093-0901 >> > >> > >> > >> > _______________________________________________ >> > Emacs-orgmode mailing list >> > Please use `Reply All' to send replies to the list. >> > Emacs-orgmode@gnu.org >> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > Charles C. Berry (858) 534-2098 > Dept of Family/Preventive > Medicine > E mailto:cberry@tajo.ucsd.edu UC San Diego > http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901 > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > Charles C. Berry (858) 534-2098 Dept of Family/Preventive Medicine E mailto:cberry@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901