From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Steuer Subject: [babel] don't get the :result option Date: Wed, 11 Nov 2009 14:12:49 +0100 Message-ID: <20091111141249.446c2dfc@gaia> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8D0c-00010L-Sq for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 08:13:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8D0X-0000th-ND for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 08:13:14 -0500 Received: from [199.232.76.173] (port=45592 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8D0W-0000tJ-SK for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 08:13:09 -0500 Received: from lo.gmane.org ([80.91.229.12]:39221) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8D0W-0006y7-9X for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 08:13:08 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N8D0U-0003Cl-Hm for emacs-orgmode@gnu.org; Wed, 11 Nov 2009 14:13:06 +0100 Received: from gaia.unibw-hamburg.de ([139.11.181.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Nov 2009 14:13:01 +0100 Received: from detlef.steuer by gaia.unibw-hamburg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Nov 2009 14:13:01 +0100 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: emacs-orgmode@gnu.org Hi! Making my first steps with org babel I'm running into this: * R in org-mode May very well be the ultimate tool! #+srcname: R-first :results output #+begin_src R x <- runif(100) y <- x + rnorm(100) summary(lm(y ~x)) #+end_src And I get "Source block produces no output" if I do C-c C-c. Nevertheless: in R summary() produces output. On the other hand: #+srcname: R-second :results output #+begin_src R x <- runif(10) #+end_src results in #+resname: R-second | 0.478928654454648 | | 0.635543955955654 | | 0.59639022895135 | | 0.152170182904229 | | 0.438571813516319 | | 0.116913777310401 | | 0.69362498424016 | | 0.629256698768586 | | 0.513565683504567 | | 0.0796801506076008 | Nevertheless that R command produces no output. I guess I'm doing wrongly something very simple. Can anybody help? This is with R-2.10.0 and org-mode freshly compiled this morning from git, emacs 22. Detlef