emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Has anything changed with R setup recently?


From: John Hendy
Subject: [O] Has anything changed with R setup recently?
Date: Wed, 25 Sep 2013 10:02:15 -0500

I started a post a bit ago and thought I had my R/Windows woes resolved:
- http://www.mail-archive.com/address@hidden/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 via email to

[Prev in Thread] Current Thread [Next in Thread]