From: Alexander Vorobiev <alexander.vorobiev@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: R and babel on Windows problem
Date: Fri, 29 Jun 2012 12:12:22 -0500 [thread overview]
Message-ID: <CAGOCFPV1enObYTDsNn6qSBNsMHt+tTC9NmO-uE7pY2W34-m5Yg@mail.gmail.com> (raw)
In-Reply-To: <CA+M2ft-Vem+kuAVn5UKDS6gK2ZsiEZ1ASAR6sRR_MLpsCaVJ9w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2717 bytes --]
John,
I have no experience with the development version of org-mode. Try
activating 'enter debugger on error' flag to see where exactly it runs into
problems. Also try launching R first in ess so that there is active R
session available to babel.
Regards,
Alex
On Fri, Jun 29, 2012 at 10:24 AM, John Hendy <jw.hendy@gmail.com> wrote:
> On Fri, Jun 29, 2012 at 9:59 AM, Alexander Vorobiev
> <alexander.vorobiev@gmail.com> wrote:
> > John,
> >
> > Do you have native Windows emacs or cygwin emacs? I use native emacs on
> XP
> > with the latest released ess and org-mode, and have no problems with
> calling
> > R from babel. I do not set the org-babel-R-command which has its default
> > value "R --slave --no-save" and let ess find path to R on my system.
> >
>
> I installed native Windows and compile org-mode from git with that no
> compiler worg ditty.
> -- http://orgmode.org/worg/org-hacks.html#compiling-org-without-make
>
> Actually, in finding that page, it looks like it's been updated. I've
> been using that compile-org lisp code in .emacs and now it appears
> that functionality is included by default. Maybe I'll update via git
> and use the built in stuff to see if that helps?
>
> Like I said, setting org-babel-R-command makes no difference
> (commenting it out and re-loading .emacs still produces the error).
>
> Also, ess, as posted below, *does* seem to find my installed R
> versions, so it doesn't seem to be an ess issue?
>
>
> Any other suggestions to try?
> John
>
> > Regards,
> > Alex
> >
> >
> > On Thu, Jun 28, 2012 at 12:46 PM, John Hendy <jw.hendy@gmail.com> wrote:
> >>
> >> I typically use orgmode + babel on Linux and have no problems. Trying
> >> to run on Windows 7 and having issues...
> >>
> >> The pertinent bits from .emacs:
> >> ----------
> >> ;; setup babel
> >> (add-to-list 'load-path "~/.emacs.d/ess-12.04/lisp")
> >> (require 'ess-site)
> >> (setq org-babel-R-command "C:/Program\ Files/R/R-2.15.0/bin/R")
> >> (org-babel-do-load-languages
> >> 'org-babel-load-languages
> >> '((latex . t)
> >> (R . t)))
> >> ----------
> >>
> >> When I try to execute a simple R src block, I get: "The system cannot
> >> find the path specified." I get the same with or without setting the
> >> org-babel-R-command path and with or without using R.exe instead of
> >> just R.
> >>
> >> There's an *ESS* buffer that /appears/ to be finding the versions of R
> >> on my machine:
> >> ----------
> >> [ess-site.el]: ess-customize-alist=nil
> >> [ess-site.el _2_]: ess-customize-alist=nil
> >> (R): ess-r-versions-create making M-x defuns for
> >> R-2.15.0-64bit
> >> R-2.14.1-64bit
> >> ----------
> >>
> >> Any suggestions?
> >>
> >>
> >> Best regards,
> >> John
> >>
> >
>
[-- Attachment #2: Type: text/html, Size: 3925 bytes --]
next prev parent reply other threads:[~2012-06-29 17:12 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 17:46 R and babel on Windows problem John Hendy
2012-06-29 14:59 ` Alexander Vorobiev
2012-06-29 15:24 ` John Hendy
2012-06-29 17:12 ` Alexander Vorobiev [this message]
2012-06-29 18:26 ` Achim Gratz
2012-06-29 19:31 ` John Hendy
2012-06-29 19:37 ` Nick Dokos
2012-06-29 20:00 ` John Hendy
2012-06-29 20:16 ` Nick Dokos
2012-07-02 20:15 ` John Hendy
2012-07-02 21:26 ` Nick Dokos
2012-07-02 21:47 ` John Hendy
2012-07-02 22:15 ` Nick Dokos
2012-07-02 22:16 ` John Hendy
2012-07-06 16:58 ` John Hendy
2012-07-06 17:12 ` Nick Dokos
2012-07-06 17:46 ` John Hendy
2012-07-06 18:41 ` Eric Schulte
2012-07-06 22:05 ` John Hendy
2012-07-06 18:45 ` Nick Dokos
2012-07-06 22:08 ` John Hendy
2012-07-06 22:14 ` John Hendy
2012-07-07 1:02 ` Eric Schulte
2012-07-07 1:48 ` Nick Dokos
2012-07-16 0:42 ` John Hendy
2012-06-30 5:13 ` Achim Gratz
2012-06-30 13:15 ` Eric Schulte
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=CAGOCFPV1enObYTDsNn6qSBNsMHt+tTC9NmO-uE7pY2W34-m5Yg@mail.gmail.com \
--to=alexander.vorobiev@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
/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).