-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Davison schrieb: > "Weiss, Bernd " <bernd.we...@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----- _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode