From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: [babel] org-babel-R and windows ? Date: Tue, 12 Jan 2010 15:56:58 +0100 Message-ID: <83d41f1idh.fsf@yahoo.it> References: 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 1NUiAZ-0006tN-7l for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 09:56:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUiAU-0006qF-TR for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 09:56:30 -0500 Received: from [199.232.76.173] (port=34018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUiAU-0006q9-IX for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 09:56:26 -0500 Received: from slim-2c.inet.it ([213.92.5.123]:32862) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUiAU-0003uC-0O for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 09:56:26 -0500 In-Reply-To: (d. tchin's message of "Tue, 12 Jan 2010 13:24:14 +0000 (UTC)") 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: "d.tchin" Cc: emacs-orgmode@gnu.org d.tchin writes: Hi, d.tchin , > I need help to be able to use org-babel functionality.=20 > I use emacs 22.3.1 in windows XP and org-mode 6.34. > > I have the following instructions in .emacs > > (require 'org-install) > (require 'org-plot) > (require 'org-babel-init)=20=20 > (require 'org-babel-R) ;; requires R and ess-mode > (require 'org-babel-python) ;; requires python, and python-mode > (require 'org-babel-ditaa) > > ESS module is loaded before : > > (load "~/emacs/emacs-22.3/site-lisp/ess-5.7.1/lisp/ess-site") > > I don't manage to get any output with R Software.=20 > > Below you will find test I have done : > > #+srcname:trial > #+begin_src sh > echo output > #+end_src > > #+results: trial > : output > > #+srcname:trial > #+begin_src R > c(4,5,6,7,8,9) > #+end_src > > I manage to have shell output, but when I tried R procedure, > I have the following output in *Messages* buffer > > executing R source code block... > Syntaxe du nom de fichier, de r=C3=A9pertoire ou de volume incorrecte. joking: "what does that mean in *English*, you French-centric guy?!" ;-) ah,yes, google translator is my friend: Syntax of the file name, directory or volume error. I suspect that R is not loaded/called correctly from org-babel + can you run R from emacs shell? + is the R executable in the path? + do you have all the backslashes defined correctly when you call the R exe= cutable? cheers, Giovanni