From rgentlem@jimmy.harvard.edu  Mon Nov  1 21:32:15 1999
From: rgentlem@jimmy.harvard.edu (Robert Gentleman)
Date: Mon, 1 Nov 1999 16:32:15 -0500
Subject: bug in sample
In-Reply-To: <199910312320.AAA20291@pubhealth.ku.dk>; from Ray.Brownrigg@mcs.vuw.ac.nz on Mon, Nov 01, 1999 at 12:20:56AM +0100
References: <199910312320.AAA20291@pubhealth.ku.dk>
Message-ID: <19991101163215.P13888@jimmy.harvard.edu>

The following appears to be a bug in 0.90

> x<-sample(10,1:4,rep=T)
> x
[1] 8
> ?sample
>  x<-sample(10,1:4,rep=T)
> x
[1] 5

Of course, I forgot the syntax but I still don't like the result.


-- 
+-------------------------------------------------------------------------+
| Robert Gentleman              voice: (617) 632-5045                     |
| Senior Lecturer               fax:   (617) 632-2444                     |
| University of Auckland	email1: rgentlem@jimmy.harvard.edu        |
| on leave at:                                                            |
| Dana-Farber Cancer Institute  email2: rgentlem@stat.auckland.ac.nz      |
+-------------------------------------------------------------------------+
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


bug in sample
Robert Gentleman