[R] hclust

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Jul 3 08:02:27 CEST 2004


On Fri, 2 Jul 2004, Rafael A. Irizarry wrote:

> im using plclust  and want the labels to be different colors. 
> i took a look at getS3method("plot","hclust")
> and saw a call to .Internal. i looked at the help on .Internal and dont
> know where to go next. any help appreciated!

The R source code, specifically src/main/names.c which maps the .Internal 
named call to C calls.  In your case the lines

{"dend",	do_dend,	0,	111,	6,	{PP_FUNCALL, 
PREC_FN,	0}},
{"dend.window",	do_dendwindow,	0,	111,	5,	{PP_FUNCALL, 
PREC_FN,	0}},

and 

gannet% grep do_dend *.c
...
plot.c:SEXP do_dend(SEXP call, SEXP op, SEXP args, SEXP env)
plot.c:SEXP do_dendwindow(SEXP call, SEXP op, SEXP args, SEXP env)

(This might be better continued on R-devel, if it need continuing.)

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list