From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel][R] no return values in R code blocks Date: Mon, 29 Aug 2011 07:38:11 -0600 Message-ID: <87sjok8hig.fsf@gmail.com> References: 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]:58737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy22y-0005kx-M4 for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 09:38:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy22w-0003Kk-Ii for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 09:38:40 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:56687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy22w-0003KZ-7y for emacs-orgmode@gnu.org; Mon, 29 Aug 2011 09:38:38 -0400 Received: by pzk36 with SMTP id 36so9910558pzk.17 for ; Mon, 29 Aug 2011 06:38:37 -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: Max =?utf-8?Q?Fl=C3=B6ttmann?= Cc: emacs-orgmode@gnu.org Max Fl=C3=B6ttmann writes: > Hi, > When i run a code block like this using C-c C-c: > > #+BEGIN_SRC R > c(1,23,54,5) > #+END_SRC > > I do not get any results. > > In older versions of orgmode the result used be a table or vector returned > by R. Is this a bug, or do I need a new keyword that is not in the > documentation yet to get the same result? > I'm using version 7.7 and R2.13.1 > When I run your example I do get results. #+BEGIN_SRC R c(1,23,54,5) #+END_SRC #+results: | 1 | | 23 | | 54 | | 5 | So maybe the problem is located somewhere in your configuration. I would suggest trying with a minimal configuration by launching emacs with the -Q option, and then only evaluating the bare minimum of a config sufficient to add R to the list of languages that Babel attempts to evaluate. Best -- Eric > > Thanks, > > Max --=20 Eric Schulte http://cs.unm.edu/~eschulte/