From mboxrd@z Thu Jan 1 00:00:00 1970 From: eythanweg@gmail.com (Eythan Weg) Subject: Re: exporting babel stuff to pdf or latex Date: Wed, 31 Aug 2011 18:01:42 -0400 Message-ID: <87sjohkzp5.fsf@gmail.com> References: <87aaapn11y.fsf@gmail.com> <14465.1314799828@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QysrB-00047C-8R for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 18:02:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QysrA-0001uh-4v for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 18:02:01 -0400 Received: from lo.gmane.org ([80.91.229.12]:57879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qysr9-0001uW-Tt for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 18:02:00 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qysr7-0002jv-HH for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 00:01:57 +0200 Received: from c-98-253-78-182.hsd1.in.comcast.net ([98.253.78.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Sep 2011 00:01:57 +0200 Received: from eythanweg by c-98-253-78-182.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Sep 2011 00:01:57 +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 Cc: Nick Dokos Nick Dokos Wed, 31 Aug 2011 10:10:28 -0400 Eythan Weg wrote: > > Hi, > > I need help with exporting this: > > #+begin_src R :exports both :results output > Lst <- list(length=c(1,7,9), time=c(0.5,10,11)) > print(Lst$time) > #+end_src > > It fails with these messages > > Export buffer: > Exporting to PDF... > Exporting to LaTeX... > org-babel-exp processing... > org-babel-get-src-block-info: Args out of range: "", -1, 0 > > Any obvious reason why? > > Works for me: maybe you need to upgrade? Org-mode version 7.7 (release_7.7.223.gcae9.dirty) Nick Thanks. I think I found my issue. Babel blocks need to be under a headline in order to be exported. Is this correct? Eythan