On Mon, Apr 8, 2013 at 8:53 PM, Eric Schulte <schulte.e...@gmail.com> wrote: > John Hendy <jw.he...@gmail.com> writes: > >> On 8.0-pre and have never had an issue with R source code blocks >> before. I was just trying something simple like: >> >> #+begin_src R :exports results >> >> a <- 1+2 >> a >> >> #+end_src >> >> I got empty #+results block upon execution and the *Org Babel Error* >> (something like that) buffer had an error about the executable not >> being found. Adding =:session= produced results, though. >> >> Is there something new about the difference between execution with and >> without sessions with R? >> > > I'm able to execute R code on 8.0-pre with or without a session. > Perhaps your `org-babel-R-command' variable doesn't point to R, or maybe > you have a broken install? >
Grr. Apparently R updated on it's own somehow and I missed it. My org-babel-R-command was pointing to ../2.15.0/bin/ instead of /2.15.1/bin/. Updating this fixed the issue. Is there a better way to set this vs. having to manually update the path? Thanks, John > If this problem persists please send an error trace (with > `debug-on-error' set to t). > > Cheers, > >> >> >> John >> > > -- > Eric Schulte > http://cs.unm.edu/~eschulte