emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: "Max Flöttmann" <max.floettmann@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel][R] no return values in R code blocks
Date: Mon, 29 Aug 2011 07:38:11 -0600	[thread overview]
Message-ID: <87sjok8hig.fsf@gmail.com> (raw)
In-Reply-To: CALRK16pixLXPcxO4BGmziy5_bS1d0GL19WtaH_wNRWwi0og20w@mail.gmail.com

Max Flöttmann <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 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/

  reply	other threads:[~2011-08-29 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 10:49 [babel][R] no return values in R code blocks Max Flöttmann
2011-08-29 13:38 ` Eric Schulte [this message]
2011-08-30  6:20   ` Max Flöttmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sjok8hig.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=max.floettmann@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).