From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: R and babel on Windows problem Date: Mon, 02 Jul 2012 18:15:24 -0400 Message-ID: <32108.1341267324@alphaville> References: <87ipea3rfq.fsf@Rainer.invalid> <18442.1340998640@alphaville> <18840.1341001001@alphaville> <31262.1341264369@alphaville> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Slou3-0001xL-Mv for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 18:15:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Slou1-00017U-GN for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 18:15:31 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:46656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Slou1-00017E-9h for emacs-orgmode@gnu.org; Mon, 02 Jul 2012 18:15:29 -0400 In-Reply-To: Message from John Hendy of "Mon, 02 Jul 2012 16:47:26 CDT." 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: John Hendy Cc: Achim Gratz , emacs-orgmode@gnu.org 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 function and you can single-step by pressing > > SPACE. At strategic points, you can evaluate things with "e". > > Eeks. Is the fact that I learned emacs only for org-mode showing. I > don't even know how to =(info "(elisp) Edebug")= -- do I put an =M-x= > in front of that? =M-x info= seems to bring me to a help page for > info! > You have to evaluate it somehow. If you are reading your mail in emacs, just place the cursor after the closing paren and press C-x C-e. If not, just go to emacs and "C-h i elisp RET i edebug RET" or equivalently, type ESC ESC : (info "(elisp) Edebug") RET. Underlying assumption: you have the Emacs Lisp info files installed. > Anyway... I just googled edebug and it says about the same as you did > (except for appending "eval-defun with a prefix argument" onto =C-u > C-M-x=. > - http://www.gnu.org/software/emacs/manual/html_node/elisp/Using-Edebug.html > > 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 C-u C-M-x please: and the echo area should say "Edebug: org-babel-R-evaluate-external-process" afterwards. Nick > - Visited my file, test.org and did =C-c C-c= on the R babel block > - Nothing different occurred; I just got "The system cannot find the > path specified" > > I tried the above again with regular 'ol org-babel-R-evaluate just in > case and had the same results. > > I'm clearly goofing something but have no idea what it is. > > > John > > > > > > If you mess it up (and you probably will a few times), no problem: just try > > again. And be patient! > > > > Good luck, > > Nick > > > > > > > >> > >> John > >> > >> > >> > > >> > Nick > >> > > >> >> Using =M-x R= works find. ESS is finding R. I successfully loaded a > >> >> .csv, ggplot2 and plotted. > >> >> > >> >> > >> >> John > >> >> > >> >> John > >> >> > >> >> > > >> >> > Nick > >> >> > > >> >> > >> >