Re: [Rd] [patch] add=TRUE in plot.default()

2008-03-15 Thread Christos Hatzis
Andrew, Here's is a way how your example could be coded with the current implementation of plot. You can always start with an empty plot and then add lines or points (or both) using the corresponding functions. > x <- seq(-2, 2, 0.1) > plot(x, x, type="n") > mapply(function(f, i) lines(x, f(x)

Re: [Rd] [patch] add=TRUE in plot.default()

2008-03-15 Thread Andrew Clausen
Hi Duncan, On Mon, Mar 10, 2008 at 08:51:23AM -0400, Duncan Murdoch wrote: > >The add parameter only interacts with other parameters superficially -- > >some parameters of "plot" (like log) are related to the shape of the axes, > >and should be inherited from what is on the plot already. > > I'd

Re: [Rd] Experimental R_has_slot() utility

2008-03-15 Thread Laurent Gautier
2008/3/16, Martin Maechler <[EMAIL PROTECTED]>: > > "LG" == Laurent Gautier <[EMAIL PROTECTED]> > > on Sat, 15 Mar 2008 16:24:26 +0800 writes: > > LG> Dear list, The utility "R_has_slot" mentioned in the > LG> file NEWS ("Experimental R_has_slot() utility > LG> supplementin

Re: [Rd] Experimental R_has_slot() utility

2008-03-15 Thread Martin Maechler
> "LG" == Laurent Gautier <[EMAIL PROTECTED]> > on Sat, 15 Mar 2008 16:24:26 +0800 writes: LG> Dear list, The utility "R_has_slot" mentioned in the LG> file NEWS ("Experimental R_has_slot() utility LG> supplementing R_do_slot()") appears to be missing from a LG> fresh c

Re: [Rd] Buggy Kinderman-Ramage (PR#2846)

2008-03-15 Thread Shengqiao Li
I tested "RNGkind" and got the follwing output. The firt command set the normal generator to the Buggy one without warning. I'm expecting the warning message will always be given whenever you set to the Buggy one. RNGkind(normal.kind="Buggy") RNGkind() [1] "Mersenne-Twister" "Buggy

[Rd] Experimental R_has_slot() utility

2008-03-15 Thread Laurent Gautier
Dear list, The utility "R_has_slot" mentioned in the file NEWS ("Experimental R_has_slot() utility supplementing R_do_slot()") appears to be missing from a fresh checkout of the development branch. $ svn up At revision 44759. $ grep -i has_slot `find include -name '*.h'` $ grep -i _slot `find i

[Rd] get number of clusters

2008-03-15 Thread Stefan Tomzeck
hello, i've a set of integers, e.g. x={1,2,3,2,3,100,101,104} I want to compute now the numbers of the clusters via gap statistic. I 've seen the commend "gap". How can i use it? it doesn'work. I've loaded the the package "gap" and "SAGx". But R does'nt recognize the command "gap". Is it actually