The source does not document intent. I, too disagree with Dr Ripley on this
point. The library mechanism insists that some attempt at documentation be
included with the source, for good reason.
I would rather the documentation assert intent to support negative rounding
values and later add the
On 11-10-11 7:14 PM, Rolf Turner wrote:
On 11/10/11 08:17, Michael Friendly wrote:
On 10/9/2011 6:18 AM, Prof Brian Ripley wrote:
Sometimes it is better not to document things than try to give precise
details which may get changed *and* there will be useRs who misread (and
maybe even file bug
On 11/10/11 08:17, Michael Friendly wrote:
On 10/9/2011 6:18 AM, Prof Brian Ripley wrote:
Sometimes it is better not to document things than try to give precise
details which may get changed *and* there will be useRs who misread (and
maybe even file bug reports on their misreadings). The source
On 10/9/2011 6:18 AM, Prof Brian Ripley wrote:
Sometimes it is better not to document things than try to give precise
details which may get changed *and* there will be useRs who misread (and
maybe even file bug reports on their misreadings). The source is the
ultimate documentation.
I can't ag
On Sat, 8 Oct 2011, Duncan Murdoch wrote:
On 11-10-07 5:26 PM, Carl Witthoft wrote:
Just wondering here -- I tested and found to my delight that
% round(325.4,-2)
[1] 300
gave me exactly what I would have expected (and wanted). Since it's not
explicitly mentioned in the documentation that n
On 11-10-09 4:00 AM, (Ted Harding) wrote:
On 09-Oct-11 00:46:58, Carl Witthoft wrote:
On 10/8/11 6:11 PM, (Ted Harding) wrote:
Carl Witthoft's serendipitous discovery is a nice example
of how secrets can be guessed by wondering "what if ... ?".
So probably you don;t need to tell the secrets.
On 09-Oct-11 00:46:58, Carl Witthoft wrote:
>
> On 10/8/11 6:11 PM, (Ted Harding) wrote:
>
>> Carl Witthoft's serendipitous discovery is a nice example
>> of how secrets can be guessed by wondering "what if ... ?".
>> So probably you don;t need to tell the secrets.
>>
>> Taking the "negative digi
On 09/10/11 10:39, Duncan Murdoch wrote:
On 11-10-08 5:32 PM, Rolf Turner wrote:
On 09/10/11 00:18, Duncan Murdoch wrote:
On 11-10-07 5:26 PM, Carl Witthoft wrote:
Just wondering here -- I tested and found to my delight that
% round(325.4,-2)
[1] 300
gave me exactly what I would have expect
On 09/10/11 00:18, Duncan Murdoch wrote:
On 11-10-07 5:26 PM, Carl Witthoft wrote:
Just wondering here -- I tested and found to my delight that
% round(325.4,-2)
[1] 300
gave me exactly what I would have expected (and wanted). Since it's not
explicitly mentioned in the documentation that neg
On 10/8/11 6:11 PM, (Ted Harding) wrote:
Carl Witthoft's serendipitous discovery is a nice example
of how secrets can be guessed by wondering "what if ... ?".
So probably you don;t need to tell the secrets.
Taking the "negative digits" to their logical extreme:
round(654.321,2)
# [1] 6
On 08-Oct-11 21:39:07, Duncan Murdoch wrote:
> On 11-10-08 5:32 PM, Rolf Turner wrote:
>> On 09/10/11 00:18, Duncan Murdoch wrote:
>>> On 11-10-07 5:26 PM, Carl Witthoft wrote:
Just wondering here -- I tested and found to my delight that
% round(325.4,-2)
[1] 300
gave
On 11-10-08 5:32 PM, Rolf Turner wrote:
On 09/10/11 00:18, Duncan Murdoch wrote:
On 11-10-07 5:26 PM, Carl Witthoft wrote:
Just wondering here -- I tested and found to my delight that
% round(325.4,-2)
[1] 300
gave me exactly what I would have expected (and wanted). Since it's not
explicitl
On 11-10-07 5:26 PM, Carl Witthoft wrote:
Just wondering here -- I tested and found to my delight that
% round(325.4,-2)
[1] 300
gave me exactly what I would have expected (and wanted). Since it's not
explicitly mentioned in the documentation that negative 'digits' is
allowed, I just wanted t
Just wondering here -- I tested and found to my delight that
% round(325.4,-2)
[1] 300
gave me exactly what I would have expected (and wanted). Since it's not
explicitly mentioned in the documentation that negative 'digits' is
allowed, I just wanted to ask whether this behavior is intentiona
14 matches
Mail list logo