You seem to be running into the limits of double-precision - your IDs
have 17 "significant" digits which is more than the double precision
floating point number can hold without any rounding errors.

Since you are using these numbers as IDs, simply keep them as
character strings throughout your code, and nothing will ever change.
Or shorten the IDs by a few digits and your IDs will be safe again.

HTH,

Peter

On Wed, Jun 29, 2011 at 11:29 AM, Christopher T. Moore <moor0...@umn.edu> wrote:
> Hello,
>
> I have encountered some unexpected behavior in R that seems to occur as a
> result of having the current year embedded in a number:

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to