emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel-R  and windows ?
@ 2010-01-12 13:24 d.tchin
  2010-01-12 14:56 ` [babel] " Giovanni Ridolfi
  2010-01-12 17:43 ` Dan Davison
  0 siblings, 2 replies; 12+ messages in thread
From: d.tchin @ 2010-01-12 13:24 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-01-15  9:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-12 13:24 org-babel-R and windows ? d.tchin
2010-01-12 14:56 ` [babel] " Giovanni Ridolfi
2010-01-12 17:05   ` Manish
2010-01-12 17:43 ` Dan Davison
2010-01-12 18:05   ` Eric Schulte
2010-01-13  4:16   ` Manish
2010-01-13  9:20   ` d.tchin
2010-01-13 19:39     ` Dan Davison
2010-01-14  8:37       ` Sébastien Vauban
2010-01-14 17:39         ` [babel] " Dan Davison
2010-01-14 19:39           ` Sébastien Vauban
2010-01-15  9:32             ` Stefan Vollmar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).