From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martyn Jago Subject: Re: [babel] BUG in :session Date: Wed, 21 Sep 2011 17:56:59 +0100 Message-ID: References: <4E79C82A.9000809@gmail.com> <878vpidj5d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Q6m-0005do-E3 for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 12:57:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6Q6l-00069A-8J for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 12:57:16 -0400 Received: from lo.gmane.org ([80.91.229.12]:46127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Q6k-000690-TP for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 12:57:15 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R6Q6j-0007lM-L0 for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 18:57:13 +0200 Received: from 88-96-171-142.dsl.zen.co.uk ([88.96.171.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Sep 2011 18:57:13 +0200 Received: from martyn.jago by 88-96-171-142.dsl.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Sep 2011 18:57:13 +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 Hi Eric Eric Schulte writes: > Hi Rainer, > > Thanks for finding this bug, I introduced it in one of my recent > changes. I've just pushed up a fix and a test case. > > Best -- Eric > Unfortunately this test introduces an external dependency for R (which I haven't currently got on my system so fails here). Not sure if that is avoidable - I have no problem installing it if not. I also noticed it is `providing 'test-ob-fortran' as opposed to `test-ob-R'. The good news is it demonstrates my automated test server is working which is how I am on it so quick! Best, Martyn > Rainer M Krug writes: > >> Hi >> >> Org-mode version 7.7 (release_7.7.311.g0c099) >> >> If execute (Ctrl-c) the code below >> >> * load data >> #+begin_src R :tangle no :export results :session R >> paste("Yep!") >> #+end_src >> >> I get an error: >> >> ########## >> executing R code block... >> org-babel-R-evaluate: Wrong number of arguments: #[(session body >> result-type result-params column-names-p row-names-p) "Æ=ƒ} >> ########## >> only much longer and lots of strange characters. >> >> >> >> * load data >> #+begin_src R :tangle no :export results >> paste("Yep!") >> #+end_src >> >> #+results: >> : Yep! >> >> works as expected >> >> So I assume there is a problem in the :session header argument. >> >> Cheers, >> >> Rainer >> >> >> -- >> >> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation >> Biology, UCT), Dipl. Phys. (Germany) >> >> Centre of Excellence for Invasion Biology >> Stellenbosch University >> South Africa >> >> Tel : +33 - (0)9 53 10 27 44 >> Cell: +33 - (0)6 85 62 59 98 >> Fax : +33 - (0)9 58 10 27 44 >> >> Fax (D): +49 - (0)3 21 21 25 22 44 >> >> email: Rainer@krugs.de >> >> Skype: RMkrug