From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: R and babel on Windows problem Date: Mon, 2 Jul 2012 15:15:21 -0500 Message-ID: References: <87ipea3rfq.fsf@Rainer.invalid> <18442.1340998640@alphaville> <18840.1341001001@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sln1q-0000Mw-Sl for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 16:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sln1o-000446-UN for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 16:15:26 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:48525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sln1o-00042g-Kz for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 16:15:24 -0400 Received: by bkcjc3 with SMTP id jc3so2915235bkc.0 for ; Mon, 02 Jul 2012 13:15:22 -0700 (PDT) In-Reply-To: <18840.1341001001@alphaville> 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: nicholas.dokos@hp.com Cc: Achim Gratz , emacs-orgmode@gnu.org 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 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 than one level of unquoting it will otherwise break. >> >> > >> >> > (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? >> >> >> >> >> > It is, but it seems not to have a customizable interface I guess: I get >> > the same result you do with customize-variable. OTOH, C-h v >> > org-babel-R-TAB brings it up with no problem. >> >> Good call. It comes up with that and is set to the above (Progra~1 >> version) but is still saying command not found when I try C-c C-c on a >> babel block. >> >> Any debug methods? >> > > edebug org-babel-R-evaluate-external-process and single step through it > perhaps? I would clean up .elc files and start a new emacs before trying > that just to makee sure that I have a clean slate. You might have to go > down to org-babel-eval as well and single step through that. Just did a fresh git clone and make via the updated non-gnu-tools method on worg. The above = `M-x edebug org-babel-R-evaluate-external-process`? I've never done this. When I do `M-x edebug TAB` I get various edebug completions but not it as a standalone command. John > > Nick > >> Using =M-x R= works find. ESS is finding R. I successfully loaded a >> .csv, ggplot2 and plotted. >> >> >> John >> >> John >> >> > >> > Nick >> > >>