Re: [R] hclust

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat 03 Jul 2004 - 16:02:27 EST


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@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Jul 03 16:06:09 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:40 EST