From: Manish <mailtomanish.sharma@gmail.com>
To: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Cc: emacs-orgmode@gnu.org, "d.tchin" <d.tchin@voila.fr>
Subject: Re: [babel] org-babel-R and windows ?
Date: Tue, 12 Jan 2010 22:35:24 +0530 [thread overview]
Message-ID: <e7cdbe31001120905w214d4ac1nfabc3fbe526a676e@mail.gmail.com> (raw)
In-Reply-To: <83d41f1idh.fsf@yahoo.it>
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épertoire 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 executable?
Yes.
--
Manish
next prev parent reply other threads:[~2010-01-12 17:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e7cdbe31001120905w214d4ac1nfabc3fbe526a676e@mail.gmail.com \
--to=mailtomanish.sharma@gmail.com \
--cc=d.tchin@voila.fr \
--cc=emacs-orgmode@gnu.org \
--cc=giovanni.ridolfi@yahoo.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.