From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Weiss, Bernd " Subject: Re: [babel] Problems sourcing R code Date: Sun, 08 Nov 2009 20:54:26 +0100 Message-ID: <4AF721F2.9040103@uni-koeln.de> References: <4AF5CFB8.3020000@uni-koeln.de> <877hu0vnuw.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7DqU-0000oE-TY for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:54:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7DqQ-0000nB-5x for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:54:42 -0500 Received: from [199.232.76.173] (port=48372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7DqQ-0000n5-3O for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:54:38 -0500 Received: from smtp-out.rrz.uni-koeln.de ([134.95.19.53]:54545) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7DqP-0005oo-E4 for emacs-orgmode@gnu.org; Sun, 08 Nov 2009 14:54:37 -0500 In-Reply-To: <877hu0vnuw.fsf@stats.ox.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Davison schrieb: > "Weiss, Bernd " writes: >=20 >> 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=3D2) >> #+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=C3=BCr den Dateinamen, Verzeichnisnamen oder die >> Datentr=C3=A4gerbezeichnung ist falsch. >> No result returned by source block" >=20 > Dear Bernd, >=20 > 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 sessio= n > (you can change the session name of course): >=20 > (setq org-babel-default-header-args:R '((:session . "*my-R-session*"))) >=20 > Session-based evaluation is described briefly at >=20 > http://orgmode.org/worg/org-contrib/babel/org-babel.php#basic-functiona= lity >=20 > 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=3D =3Dkt86 -----END PGP SIGNATURE-----