From: d.tchin <d.tchin@voila.fr>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel-R and windows ?
Date: Wed, 13 Jan 2010 09:20:11 +0000 (UTC) [thread overview]
Message-ID: <loom.20100113T101934-572@post.gmane.org> (raw)
In-Reply-To: 878wc3kyli.fsf@stats.ox.ac.uk
Dan Davison <davison <at> stats.ox.ac.uk> writes:
> The org-babel default is to invoke R as an external shell command, and I
> think this is what is causing the problem. It requires that the emacs
> function shell-command can use the string "R" to invoke an R process,
> i.e. the R installation and the shell path must be such that this is the
> case.
Thank you for the information and explanation.
It seems that the problem comes from the windows shell.
I try the following : I explicitely told emacs to use bash
with the following instructions :
(setq explicit-shell-file-name "C:/msys/1.0/bin/bash.exe")
(setq shell-file-name explicit-shell-file-name)
It works with bash.
>
> #+srcname:trial
> #+begin_src R :session org-babel-R-session
> c(4,5,6,7,8,9)
> #+end_src
The "session" way works too.
Thank you.
next prev parent reply other threads:[~2010-01-13 9:20 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
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 [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20100113T101934-572@post.gmane.org \
--to=d.tchin@voila.fr \
--cc=emacs-orgmode@gnu.org \
/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 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).