From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Weiss, Bernd " Subject: [babel] Problems sourcing R code Date: Sat, 07 Nov 2009 20:51:20 +0100 Message-ID: <4AF5CFB8.3020000@uni-koeln.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6rJx-0001LG-Qv for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 14:51:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6rJt-0001I9-5t for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 14:51:37 -0500 Received: from [199.232.76.173] (port=52003 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6rJt-0001I5-1C for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 14:51:33 -0500 Received: from smtp-out.rrz.uni-koeln.de ([134.95.19.53]:56695) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N6rJs-0001yC-GD for emacs-orgmode@gnu.org; Sat, 07 Nov 2009 14:51:32 -0500 Received: from smtp-auth.rrz.uni-koeln.de (smtp-auth.rrz.uni-koeln.de [134.95.19.93]) by smtp-out.rrz.uni-koeln.de (8.13.8/8.13.8) with ESMTP id nA7JpR65000987 for ; Sat, 7 Nov 2009 20:51:28 +0100 Received: from [192.168.2.101] (p57BA5F84.dip.t-dialin.net [87.186.95.132]) (authenticated as user ahf34 using CRAM-MD5 bits=0) by smtp-auth.uni-koeln.de (8.13.8/8.13.8) with ESMTP id nA7JpRVS000984 for ; Sat, 7 Nov 2009 20:51:27 +0100 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: emacs-orgmode@gnu.org -----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=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=FCr den Dateinamen, Verzeichnisnamen oder die Datentr=E4gerbezeichnung 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=3D-3, sd=3D1), rnorm(10, mean=3D3, sd=3D1)) #+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: 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=3D =3DuJEV -----END PGP SIGNATURE-----