From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] BUG in :session Date: Wed, 21 Sep 2011 06:57:40 -0600 Message-ID: <878vpidj5d.fsf@gmail.com> References: <4E79C82A.9000809@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6OTJ-0004Kh-Hi for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 11:12:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6OTD-0008JS-Ni for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 11:12:25 -0400 Received: from mail-gw0-f52.google.com ([74.125.83.52]:61683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6OTD-0008JL-He for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 11:12:19 -0400 Received: by gwb1 with SMTP id 1so2184687gwb.39 for ; Wed, 21 Sep 2011 08:12:19 -0700 (PDT) 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: Rainer M Krug Cc: emacs-orgmode 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 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) "=C3=86=3D=C2=83} > ########## > 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 --=20 Eric Schulte http://cs.unm.edu/~eschulte/