From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Executable not found error with begin_src R but not begin_src R :session on Windows Date: Tue, 9 Apr 2013 18:02:58 -0500 Message-ID: References: <87vc7wii5i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPhZ7-0003mg-Pi for emacs-orgmode@gnu.org; Tue, 09 Apr 2013 19:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPhZ6-0007cT-Ad for emacs-orgmode@gnu.org; Tue, 09 Apr 2013 19:03:01 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:45396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPhZ6-0007cM-3m for emacs-orgmode@gnu.org; Tue, 09 Apr 2013 19:03:00 -0400 Received: by mail-lb0-f180.google.com with SMTP id t11so7327707lbi.39 for ; Tue, 09 Apr 2013 16:02:59 -0700 (PDT) In-Reply-To: <87vc7wii5i.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode On Mon, Apr 8, 2013 at 8:53 PM, Eric Schulte wrote: > John Hendy 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