Bug 15356 - Error from `:` reported incorrectly
Error from `:` reported incorrectly
Status: CLOSED FIXED
Product: R
Classification: Unclassified
Component: Low-level
R 3.0.0
Other Other
: P5 minor
Assigned To: R-core
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-25 01:56 UTC by Duncan Murdoch
Modified: 2013-06-25 02:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Murdoch 2013-06-25 01:56:41 UTC
Reported by Radford Neal:

The error message is wrong:

> (1:2):integer(0)
Error in (1:2):integer(0) : NA/NaN argument
In addition: Warning message:
In (1:2):integer(0) :
  numerical expression has 2 elements: only the first used