Re: [Rd] proposed change to 'sample'

From: Hadley Wickham <>
Date: Sun, 20 Jun 2010 22:42:31 -0500

> I would be more inclined to make sampling from a vector the normal case,
> and default x to say 1:max(n, size), forcing users to say sample(n=5) if
> sampling from x=1:5 is desired. This could be a manageable change; the
> deprecation sequence is a bit painful to think through, though.

Don't we already have for that case?


Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University

______________________________________________ mailing list
Received on Mon 21 Jun 2010 - 03:50:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Jun 2010 - 19:31:12 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive