emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Has anything changed with R setup recently?
Date: Wed, 25 Sep 2013 10:02:15 -0500	[thread overview]
Message-ID: <CA+M2ft-PG-nE-MOTPwPHdgjFygYzzAs_dwvTCt6WA0J5SBV5oQ@mail.gmail.com> (raw)

I started a post a bit ago and thought I had my R/Windows woes resolved:
- http://www.mail-archive.com/emacs-orgmode@gnu.org/msg57170.html

I haven't change anything except for updating my path to the more
recent R version I now have installed (used to have 2.15, now have
3.0.1). I have the following in .emacs:

(setq org-babel-R-command "R/R-3.0.1/bin/x64/R --slave --no-save")

This was previously working. I just got an error/backtrace when trying
to export to LaTeX with babel blocks from Windows. To try and
simplify, I just did =M-x R= and got the error:

apply: Searching for program: no such file or directory, Rterm

I've double checked my path, which is: C:\Program
Files\R\R-3.0.1\bin\x64, and there are the following .exe files
present: R, Rcmd, Rgui, Rscript, RSetReg, and Rterm.

In re-checking the Worg page for R setup, I changed my path to the following:

C:/Progra~1/R/R-3.0.1/bin/x64/R --slave --no-save

On a fresh Emacs session when issuing =M-x R=, I get this:

#+begin_src backtrace

Debugger entered--Lisp error: (file-error "Searching for program" "no
such file or directory" "Rterm")
  start-process("R" #<buffer *R*> "Rterm" "--ess")
  apply(start-process "R" #<buffer *R*> "Rterm" "--ess")
  start-file-process("R" #<buffer *R*> "Rterm" "--ess")
  apply(start-file-process "R" #<buffer *R*> "Rterm" "--ess")
  comint-exec-1("R" #<buffer *R*> "Rterm" ("--ess"))
  comint-exec(#<buffer *R*> "R" "Rterm" nil ("--ess"))
  inferior-ess-make-comint("*R*" "R" "--ess  ")
  ess-multi("R" #<buffer *R*> "--ess  ")
  inferior-ess("--ess  ")
  R(nil)
  call-interactively(R t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

#+end_src

Has anything changed recently that would require additional settings
for R to function properly on Windows? Happy to provide more
information. This is why I typically avoid using Org on Windows at all
costs :) Linux just... works.



Thanks,
John

             reply	other threads:[~2013-09-25 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-25 15:02 John Hendy [this message]
2013-09-25 15:54 ` Has anything changed with R setup recently? John Hendy

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=CA+M2ft-PG-nE-MOTPwPHdgjFygYzzAs_dwvTCt6WA0J5SBV5oQ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --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).