[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel][R] no return values in R code blocks
From: |
Eric Schulte |
Subject: |
Re: [O] [babel][R] no return values in R code blocks |
Date: |
Mon, 29 Aug 2011 07:38:11 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Max Flöttmann <address@hidden> 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/