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 http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.

Re: [O] R and babel on Windows problem

2012-07-06 Thread Nick Dokos
John Hendy 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. > But you would h

Re: [O] R and babel on Windows problem

2012-07-06 Thread Eric Schulte
John Hendy 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 looked as I t

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 t

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 wrote: > John Hendy wrote: > >> On Fri, Jul 6, 2012 at 12:12 PM, Nick Dokos wrote: >> > John Hendy 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

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 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 get: >> >>

Re: [O] R and babel on Windows problem

2012-07-06 Thread Nick Dokos
John Hendy wrote: > On Fri, Jul 6, 2012 at 12:12 PM, Nick Dokos wrote: > > John Hendy 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 exe

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'

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 wrote: > John Hendy 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 s

Re: [O] R and babel on Windows problem

2012-07-06 Thread Nick Dokos
John Hendy 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 should see in the

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 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 function >> -

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 babe

Re: [O] R and babel on Windows problem

2012-07-02 Thread Nick Dokos
John Hendy 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 func

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 wrote: > John Hendy wrote: > >> On Fri, Jun 29, 2012 at 3:16 PM, Nick Dokos wrote: >> > John Hendy wrote: >> > >> >> On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos wrote: >> >> > John Hendy wrote: >> >> > >> >> >> On Fri, Jun 29, 2012 at 1:26 PM, Achim

Re: [O] R and babel on Windows problem

2012-07-02 Thread Nick Dokos
John Hendy wrote: > On Fri, Jun 29, 2012 at 3:16 PM, Nick Dokos wrote: > > John Hendy wrote: > > > >> On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos wrote: > >> > John Hendy wrote: > >> > > >> >> On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz wrote: > >> >> > [re-sent] > >> >> > > >> >> > John He

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 wrote: > John Hendy wrote: > >> On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos wrote: >> > John Hendy wrote: >> > >> >> On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz wrote: >> >> > [re-sent] >> >> > >> >> > John Hendy writes: >> >> >> I typically use org

Re: [O] R and babel on Windows problem

2012-06-30 Thread Eric Schulte
Achim Gratz 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 interface.

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. I

Re: [O] R and babel on Windows problem

2012-06-29 Thread Nick Dokos
John Hendy wrote: > On Fri, Jun 29, 2012 at 2:37 PM, Nick Dokos wrote: > > John Hendy wrote: > > > >> On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz wrote: > >> > [re-sent] > >> > > >> > John Hendy writes: > >> >> I typically use orgmode + babel on Linux and have no problems. Trying > >> >> to r

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 wrote: > John Hendy wrote: > >> On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz 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... >

Re: [O] R and babel on Windows problem

2012-06-29 Thread Nick Dokos
John Hendy wrote: > On Fri, Jun 29, 2012 at 1:26 PM, Achim Gratz 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.1

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 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 compatib

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

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 John Hendy
On Fri, Jun 29, 2012 at 9:59 AM, Alexander Vorobiev 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 defau

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 syste