From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Max_Fl=F6ttmann?= Subject: Re: [babel][R] no return values in R code blocks Date: Tue, 30 Aug 2011 08:20:29 +0200 Message-ID: References: <87sjok8hig.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307ca0b212f54904abb302b0 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyHgW-0001da-KD for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 02:20:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyHgV-0005Fq-H7 for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 02:20:32 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:51438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyHgV-0005Fk-CT for emacs-orgmode@gnu.org; Tue, 30 Aug 2011 02:20:31 -0400 Received: by vwm42 with SMTP id 42so6138927vwm.0 for ; Mon, 29 Aug 2011 23:20:31 -0700 (PDT) In-Reply-To: <87sjok8hig.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --20cf307ca0b212f54904abb302b0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Eric, Thanks for the response. I pulled the newest org version from the repository, mine was a few weeks old. Now it's returning results correctly. Cheers, Max 2011/8/29 Eric Schulte > Max Fl=F6ttmann 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 > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ > --20cf307ca0b212f54904abb302b0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Eric,
Thanks for the response.
I pulled the newest org versi= on from the repository, mine was a few weeks old. Now it's returning re= sults correctly.
Cheers,

Max

2011/8/29 Eric Schulte <= ;schulte.eric@gmail.com>
Max Fl=F6ttmann <max.floettmann@gmail.com> 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 retu= rned
> 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:
| =A01 |
| 23 |
| 54 |
| =A05 |

So maybe the problem is located somewhere in your configuration. =A0I
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

--
Eric Schulte
http://cs.unm.ed= u/~eschulte/

--20cf307ca0b212f54904abb302b0--