[R] Code works standalone, yet same code fails when part of package

2012-12-17 Thread WATSON Mick
Hi I'm missing something here but I cannot figure out what. What I can see is that the same code works when I load it via source(...) yet fails when I execute it after loading the package I have built (which includes the code. Below is a transcript of my R session. First I load the code from

[R] identify.hclust() doesn't cut tree at the vertical position of the mouse pointer

2012-07-10 Thread WATSON Mick
Dear All According to the identify.hclust documentation the function "cuts the tree at the vertical position of the pointer and highlights the cluster containing the horizontal position of the pointer". When I carry out this, the tree isn't cut where I click - in fact, there seems to be a limi