From mboxrd@z Thu Jan 1 00:00:00 1970 From: d.tchin Subject: org-babel-R and windows ? Date: Tue, 12 Jan 2010 13:24:14 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUgjr-0005M6-Rh for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 08:24:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUgjn-0005K7-41 for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 08:24:51 -0500 Received: from [199.232.76.173] (port=42411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUgjm-0005K3-Rc for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 08:24:46 -0500 Received: from lo.gmane.org ([80.91.229.12]:39458) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUgjm-00035j-Fk for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 08:24:46 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUgjf-0002Tz-AA for emacs-orgmode@gnu.org; Tue, 12 Jan 2010 14:24:39 +0100 Received: from APuteaux-754-1-29-17.w90-44.abo.wanadoo.fr ([90.44.68.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 14:24:39 +0100 Received: from d.tchin by APuteaux-754-1-29-17.w90-44.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 14:24:39 +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 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épertoire ou de volume incorrecte. Source block produced no output I have a look on temporary directory and I have the folllowing file : R-in-functional-results4452lyl Inside the following source code : main <- function () { c(4,5,6,7,8,9) } write.table(main(), file="c:/Temp/emacs/tmp/R-out-functional-results4452y8r", sep="\t", na="nil",row.names=FALSE, col.names=FALSE, quote=FALSE) The file R-out-functional-results4452y8r exists but is empty. What I miss to make it work ? Regards