see below. On Mon, Nov 22, 2010 at 12:57 PM, Mike Marchywka <marchy...@hotmail.com> wrote: > > > > > > > > > ---------------------------------------- >> Date: Mon, 22 Nov 2010 12:41:06 -0300 >> Subject: Re: [R] ?summaryRprof running at 100% cpu for one hour ... >> From: kjetilbrinchmannhalvor...@gmail.com >> To: marchy...@hotmail.com >> CC: lig...@statistik.tu-dortmund.de; r-help@r-project.org >> >> see below. >> >> On Mon, Nov 22, 2010 at 12:13 PM, Mike Marchywka wrote: >> > >> > >> Thanks. Will try. Really, I tried yesterday, to run R under gdb within >> emacs, but it did'nt work out. What I did (in emacs 23) was, typing >> Ctrl-u M-x R >> and then enter the option >> --debugger=gdb >> >> It starts, but Ctrl-C signal do not have any effect! >> >> Kjetil > > I rarely use gdb but it did seem to work with R but I executed gdb from > cygwin windoh and IIRC ctrl-C worked fine as it broke into debugger. > I guess you could try that- start gdb and attach or invoke R from gdb. > >
OK, thanks. I started R with R --debugger=gdb in a shell, outside emacs. then it works. I did some unsystematic sampling with Ctrl-C. Most of the time it was stuck in memory.c, apparently doing garbage collection. Other files which occured was unique.c, duplicate.c kjetil > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.