[Rd] n=1 default for random number generators

2009-11-16 Thread Richard Cotton
One tiny thing that would be very nice to have is a default value of n=1 in the random number generator functions, enabling, e.g., runif() instead of runif(1). This won't break anyone's existing code and ought to be relatively straightforward to do. Is there anyone in the core team who would

Re: [Rd] n=1 default for random number generators

2009-11-16 Thread Duncan Murdoch
On 11/16/2009 11:00 AM, Richard Cotton wrote: One tiny thing that would be very nice to have is a default value of n=1 in the random number generator functions, enabling, e.g., runif() instead of runif(1). This won't break anyone's existing code and ought to be relatively straightforward to do.

Re: [Rd] n=1 default for random number generators

2009-11-16 Thread William Dunlap
-Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Duncan Murdoch Sent: Monday, November 16, 2009 8:28 AM To: Richard Cotton Cc: r-devel@r-project.org Subject: Re: [Rd] n=1 default for random number generators On 11/16/2009

Re: [Rd] n=1 default for random number generators

2009-11-16 Thread Patrick Burns
Duncan Murdoch wrote: On 11/16/2009 11:00 AM, Richard Cotton wrote: One tiny thing that would be very nice to have is a default value of n=1 in the random number generator functions, enabling, e.g., runif() instead of runif(1). This won't break anyone's existing code and ought to be

Re: [Rd] n=1 default for random number generators

2009-11-16 Thread Prof Brian Ripley
On Mon, 16 Nov 2009, Richard Cotton wrote: One tiny thing that would be very nice to have is a default value of n=1 in the random number generator functions, enabling, e.g., runif() instead of runif(1). This won't break anyone's existing code and ought to be relatively straightforward to do.