[R] Bug in plot.dendrogram, and how to submit patches

2008-11-09 Thread Yan Wong
I guess I initially need to download the latest SVN repository, but I'm a bit of a novice at this, and some instructions about how to go about it would be quite handy. Thanks Yan Wong Oxford __ R-help@r-project.org mailing list https://stat.et

Re: [R] Debugging a hanging function within R

2007-11-16 Thread Yan Wong
On 16 Nov 2007, at 15:05, Gabor Grothendieck wrote: > Try this: > > f <- function() { >for(i in 1:1000) { > if (i == 50) browser() > print(i) > } > } > > # enters debugger when i is 50. > # n/c/Q will step one statement/continue/Quit respectively > f() Thanks. The problem is that

Re: [R] Debugging a hanging function within R

2007-11-16 Thread Yan Wong
On 16 Nov 2007, at 14:16, Duncan Murdoch wrote: > On 11/16/2007 6:58 AM, Yan Wong wrote: >> Hi, >> I can't seem to find a way to do this (i.e. interrupt a routine at >> an arbitrary time during its run, then step into it using the >> debugger). > > If y

[R] Debugging a hanging function within R

2007-11-16 Thread Yan Wong
Hi, I have an R program which takes several days to run, and sometimes hangs while running, presumably stuck in some sort of loop within a package function. I don't know where in the program code it is hanging: it is likely to be within a routine that is iterated many hundreds of thousands