From murdoch at stats.uwo.ca  Mon Nov 16 17:27:52 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Mon, 16 Nov 2009 11:27:52 -0500
Subject: [Rd] n=1 default for random number generators
In-Reply-To: <26374371.post@talk.nabble.com>
References: <26374371.post@talk.nabble.com>
Message-ID: <4B017D88.1000806@stats.uwo.ca>

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.  
> 
> Is there anyone in the core team who would be willing to include this
> change?

I doubt it.  Even if you put together the patch (and I didn't see an 
offer to do so), merging it into the trunk code would take more work 
than you'd save in several years of typing the "1".

Duncan Murdoch



[Rd] n=1 default for random number generators
Duncan Murdoch