emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Weiss, Bernd " <bernd.weiss@uni-koeln.de>
To: emacs-orgmode@gnu.org
Subject: [babel] Problems sourcing R code
Date: Sat, 07 Nov 2009 20:51:20 +0100	[thread overview]
Message-ID: <4AF5CFB8.3020000@uni-koeln.de> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

I am having trouble sourcing R code from within an org-file via
org-babel, i.e. I cant' replicate the most simple examples

#+begin_src R :results value
matrix(rnorm(6), nrow=2)
#+end_src

That's the error message I get whenever I type in C-c C-c:

"executing R source code block...
Die Syntax für den Dateinamen, Verzeichnisnamen oder die
Datenträgerbezeichnung ist falsch.
No result returned by source block"


However, I am not having any problems with the shell-example

#+begin_src sh
  echo "This file takes up `du -h org-babel.org |sed 's/\([0-9k]*\)[
]*org-babel.org/\1/'`"
#+end_src

Org-R works as expected, i.e. I can source the following example without
any problems

#+RR: x <- c(rnorm(10, mean=-3, sd=1), rnorm(10, mean=3, sd=1))
#+R: title:"continuous-data" output-to-buffer:t


My setup:
- - MS-Win Vista
- - GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) of 2009-07-30 on SOFT-MJASON
- - Org-mode: Org-mode version 6.32trans (release_6.32b.127.g471c2);
- - ESS: v5.5
- - my .emacs/_emacs-File: <http://metaanalyse.de/tmp/_emacs>


Thanks in advance for your help

Bernd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJK9c+4AAoJEEs3GEaRJz0hpKUH/3HGap0alygyueqkYDGw7yFO
j5B0bl5Vk6iYiHuoPH2DdYM2fIuVyH52hicKXXSUPnGenj3z84UeiNmMi/PELMuE
GqXRYbidmoIfa0u7eOqpB9hoiWnLSdo74ZCmoo3aojn4a/yyx1bNcZ6nqe4ESgJP
qdCO7TNfXniQ114HdLBCGzhNLVpJ1jgcd80sdTZi4pPiUpTUKjpb7MQCsCV6RZY0
pP0ticRiGRinu1sew6laDFOGIs57zhye+E2TLdql9e62hfaF4TddxQFyQPCUCn6+
hiQeZBQ7t5I8wO4ZHTurfx6jrky2u0T1JJV8RfeWgm66aJIwWzoJ/F7ZA9oYuQs=
=uJEV
-----END PGP SIGNATURE-----

             reply	other threads:[~2009-11-07 19:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-07 19:51 Weiss, Bernd  [this message]
2009-11-08 19:05 ` [babel] Problems sourcing R code Dan Davison
2009-11-08 19:54   ` Weiss, Bernd 

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=4AF5CFB8.3020000@uni-koeln.de \
    --to=bernd.weiss@uni-koeln.de \
    --cc=emacs-orgmode@gnu.org \
    /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).