emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [babel] Problems sourcing R code


From: Weiss, Bernd
Subject: Re: [Orgmode] [babel] Problems sourcing R code
Date: Sun, 08 Nov 2009 20:54:26 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

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

Dan Davison schrieb:
> "Weiss, Bernd " <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]