From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: [babel] org-babel-R and windows ? Date: Tue, 12 Jan 2010 22:35:24 +0530 Message-ID: References: <83d41f1idh.fsf@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUkCA-0003F2-VC for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 12:06:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUkC6-0003BS-Lq for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 12:06:18 -0500 Received: from [199.232.76.173] (port=59812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUkC6-0003BJ-DN for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 12:06:14 -0500 Received: from mx20.gnu.org ([199.232.41.8]:14875) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUkC1-0001DX-F5 for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 12:06:14 -0500 Received: from mail-iw0-f187.google.com ([209.85.223.187]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUkBf-0003Tr-9w for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 12:05:47 -0500 Received: by iwn17 with SMTP id 17so15444240iwn.25 for ; Tue, 12 Jan 2010 09:05:44 -0800 (PST) In-Reply-To: <83d41f1idh.fsf@yahoo.it> 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: Giovanni Ridolfi Cc: emacs-orgmode@gnu.org, "d.tchin" On Tue, Jan 12, 2010 at 8:26 PM, Giovanni Ridolfi wrote: > d.tchin writes: > > Hi, d.tchin , > >> I need help to be able to use org-babel functionality. >> 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) >> (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. >> >> 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=E9pertoire 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 face the exact same problem on: - Windows XP SP 2 - R 2.10.0 - ESS 5.3.11 - Emacs 23.1.1 - bleeding edge Org. > I suspect that R is not loaded/called correctly from org-babel Ruby calls from Org babel work. And R was configured the same way. The temporary files are created in $TEMP but the out file is empty. > > + can you run R from emacs shell? Yes. > + is the R executable in the path? Yes. > + do you have all the backslashes defined correctly when you call the R e= xecutable? Yes. --=20 Manish