Re: [R] integer ranges in R vs C and Java

2009-05-02 Thread Saptarshi Guha
> You've hit on the reason -- representation of NA > > src/main/arithmetic.c:157:    R_NaInt = INT_MIN; Aha! Yes, I missed that. > > (R-devel seems more appropriate for this question). Yes, i was not sure. Thank you Saptarshi __ R-help@r-project.org

Re: [R] integer ranges in R vs C and Java

2009-05-02 Thread Martin Morgan
You've hit on the reason -- representation of NA src/main/arithmetic.c:157:R_NaInt = INT_MIN; (R-devel seems more appropriate for this question). Martin Saptarshi Guha writes: > Hello, > I'm using R-2.9 and have a question about integer ranges. On C, (OS X > platform), > LONG_MIN and LON