Re: [O] R and babel on Windows problem

2012-07-15 Thread John Hendy
As promised, I updated Worg. It should cover the main things that came up here: - Setting the custom path via org-babel-R-command - Passing =--slave --no-save= when setting the command - The /path/to/R/bin/x64/R nuance for 64bit Windows

Re: [O] R and babel on Windows problem

2012-07-06 Thread John Hendy
On Mon, Jul 2, 2012 at 5:16 PM, John Hendy jw.he...@gmail.com wrote: Anyway: - Visited ob-R.el in emacs - Found org-babel-R-evaluate-external-process - Put the cursor on the line =(defun org-babel-R-evaluate-external-process= - Did =M-x C-M-x= and the minibuffer echoed the name of the

Re: [O] R and babel on Windows problem

2012-07-06 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: Any updates on this? Could someone provide a minimal example I could try? Or verify that my steps above are correct. I'm not sure why it's not triggering the step by step function execution described. I had sent out a note about C-u C-M-x and what you

Re: [O] R and babel on Windows problem

2012-07-06 Thread John Hendy
On Fri, Jul 6, 2012 at 12:12 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: Any updates on this? Could someone provide a minimal example I could try? Or verify that my steps above are correct. I'm not sure why it's not triggering the step by step function

Re: [O] R and babel on Windows problem

2012-07-06 Thread Eric Schulte
Update: I'm on 64bit and just now realized there's another set of R cmds in ../R-2.15.0/bin/x64/. This is what I needed. Now my problem is that using R along doesn't produce any output. With the above modification, I get: ,--- | Fatal error: you must specify '--save', '--no-save' or

Re: [O] R and babel on Windows problem

2012-07-06 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: On Fri, Jul 6, 2012 at 12:12 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: Any updates on this? Could someone provide a minimal example I could try? Or verify that my steps above are correct. I'm not sure why it's

Re: [O] R and babel on Windows problem

2012-07-06 Thread John Hendy
On Fri, Jul 6, 2012 at 1:41 PM, Eric Schulte eric.schu...@gmx.com wrote: Update: I'm on 64bit and just now realized there's another set of R cmds in ../R-2.15.0/bin/x64/. This is what I needed. Now my problem is that using R along doesn't produce any output. With the above modification, I

Re: [O] R and babel on Windows problem

2012-07-06 Thread John Hendy
On Fri, Jul 6, 2012 at 1:45 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jul 6, 2012 at 12:12 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: Any updates on this? Could someone provide a minimal example I could

Re: [O] R and babel on Windows problem

2012-07-06 Thread John Hendy
Jeepers. If I had just followed through with the outcome of the thread we were *both* already on! - http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00131.html Of course I find it only after having this drawn out troubleshooting exercise. I looked as I thought I could find a Worg page

Re: [O] R and babel on Windows problem

2012-07-06 Thread Eric Schulte
John Hendy jw.he...@gmail.com writes: Jeepers. If I had just followed through with the outcome of the thread we were *both* already on! - http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00131.html Of course I find it only after having this drawn out troubleshooting exercise. I

Re: [O] R and babel on Windows problem

2012-07-06 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: Jeepers. If I had just followed through with the outcome of the thread we were *both* already on! - http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00131.html Of course I find it only after having this drawn out troubleshooting exercise.

Re: [O] R and babel on Windows problem

2012-07-02 Thread John Hendy
On Fri, Jun 29, 2012 at 3:16 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote:

Re: [O] R and babel on Windows problem

2012-07-02 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 3:16 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at

Re: [O] R and babel on Windows problem

2012-07-02 Thread John Hendy
On Mon, Jul 2, 2012 at 4:26 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 3:16 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos nicholas.do...@hp.com

Re: [O] R and babel on Windows problem

2012-07-02 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: ... Oh, sorry: edebug is described in (info (elisp) Edebug) The basics: visit ob-R.el, go to the org-babel-R-evaluate-external-process definition and press C-u C-M-x. Then do whatever you were doing to get the problem. It should stop at the

Re: [O] R and babel on Windows problem

2012-07-02 Thread John Hendy
Anyway: - Visited ob-R.el in emacs - Found org-babel-R-evaluate-external-process - Put the cursor on the line =(defun org-babel-R-evaluate-external-process= - Did =M-x C-M-x= and the minibuffer echoed the name of the function - Visited my file, test.org and did =C-c C-c= on the R babel

Re: [O] R and babel on Windows problem

2012-06-30 Thread Eric Schulte
Achim Gratz strom...@nexgo.de writes: John Hendy writes: (setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R) Same error. Also, curiously, =M-x customize-variable RET org-babel-R TAB= yields no results... is this the right variable? That variable doesn't seem to have acustomize

Re: [O] R and babel on Windows problem

2012-06-29 Thread Alexander Vorobiev
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

Re: [O] R and babel on Windows problem

2012-06-29 Thread John Hendy
On Fri, Jun 29, 2012 at 9:59 AM, Alexander Vorobiev alexander.vorob...@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Ā 

Re: [O] R and babel on Windows problem

2012-06-29 Thread Alexander Vorobiev
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,

Re: [O] R and babel on Windows problem

2012-06-29 Thread Achim Gratz
[re-sent] John Hendy writes: I typically use orgmode + babel on Linux and have no problems. Trying to run on Windows 7 and having issues... (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R) Try the 8.3 compatible name to avoid the space in the path. If it ever goes through more

Re: [O] R and babel on Windows problem

2012-06-29 Thread John Hendy
On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote: [re-sent] John Hendy writes: I typically use orgmode + babel on Linux and have no problems. Trying to run on Windows 7 and having issues... (setq org-babel-R-command C:/Program\ Files/R/R-2.15.0/bin/R) Try the 8.3

Re: [O] R and babel on Windows problem

2012-06-29 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote: [re-sent] John Hendy writes: I typically use orgmode + babel on Linux and have no problems. Trying to run on Windows 7 and having issues... (setq org-babel-R-command

Re: [O] R and babel on Windows problem

2012-06-29 Thread John Hendy
On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote: [re-sent] John Hendy writes: I typically use orgmode + babel on Linux and have no problems. Trying to run

Re: [O] R and babel on Windows problem

2012-06-29 Thread Nick Dokos
John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz strom...@nexgo.de wrote: [re-sent] John Hendy writes: I typically use orgmode + babel

Re: [O] R and babel on Windows problem

2012-06-29 Thread Achim Gratz
John Hendy writes: (setq org-babel-R-command C:/Progra~1/R/R-2.15.0/bin/R) Same error. Also, curiously, =M-x customize-variable RET org-babel-R TAB= yields no results... is this the right variable? That variable doesn't seem to have acustomize interface. Might be worth a bug report. If the