emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Weiss, Bernd " <bernd.weiss@uni-koeln.de>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] Problems sourcing R code
Date: Sun, 08 Nov 2009 20:54:26 +0100	[thread overview]
Message-ID: <4AF721F2.9040103@uni-koeln.de> (raw)
In-Reply-To: <877hu0vnuw.fsf@stats.ox.ac.uk>

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

Dan Davison schrieb:
> "Weiss, Bernd " <bernd.weiss@uni-koeln.de> writes:
> 
>> 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"
> 
> Dear Bernd,
> 
> This is a problem relating to running R as an external shell process
> under Windows. For the time-being, please use the :session header
> argument to specify that evaluation is to take place in a persistent
> emacs R session. Alternatively, you could use the following
> configuration code to force R blocks to always use the specified session
> (you can change the session name of course):
> 
> (setq org-babel-default-header-args:R '((:session . "*my-R-session*")))
> 
> Session-based evaluation is described briefly at
> 
> http://orgmode.org/worg/org-contrib/babel/org-babel.php#basic-functionality
> 
> Thanks for the report. We will investigate the issues with running R as
> an external process under Windows.


Dear Dan,

that works, thanks a lot!

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

iQEcBAEBAgAGBQJK9yHxAAoJEEs3GEaRJz0hX2EH/1gcpuPox/411KOmr53tZ7an
p1xr+DR1q8vh9FasQbMUObvcG3uFBKzU3xMgfieTNuM5Zozi7nbFhKqzsqSffn5A
o6SPf07cJligvtJeuqknZlxFJn8ptwzxBMKlJAB1JCr/c7Er7KNlYDV5dhx9SFLw
VPggXfPbOyXyU++dCgrCoCo6BrX4rpneXSfYtU+kQPaH4if0rEF8yMYPpzKtQwjz
hDhO621AjN0BFEaKGNzzuLRF+3EqCCMBO6enTjrXdUfZXi6iF3PaRcKkhzgCMbAP
kC81ljydJ60RCsX5m7ZmL8lKgcdN29WqyyR5ifioaw0V4/ajS+aPl2VDoCqNRqk=
=kt86
-----END PGP SIGNATURE-----

      reply	other threads:[~2009-11-08 19:54 UTC|newest]

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

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=4AF721F2.9040103@uni-koeln.de \
    --to=bernd.weiss@uni-koeln.de \
    --cc=davison@stats.ox.ac.uk \
    --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).