Re: [R] Unclear documentation on 'numeric' and 'integer' (R-lang.pdf)

2010-01-20 Thread Steve Lianoglou
Hi Peng, On Wed, Jan 20, 2010 at 5:37 PM, Peng Yu wrote: > R-lang.pdf has the following description in Section 3.1.1. > > """ > Any number typed directly at the prompt is a constant and is evaluated. >> 1 > [1] 1 > Perhaps unexpectedly, the number returned from the expression 1 is a > numeric. In

[R] Unclear documentation on 'numeric' and 'integer' (R-lang.pdf)

2010-01-20 Thread Peng Yu
R-lang.pdf has the following description in Section 3.1.1. """ Any number typed directly at the prompt is a constant and is evaluated. > 1 [1] 1 Perhaps unexpectedly, the number returned from the expression 1 is a numeric. In most cases, the difference between an integer and a numeric value will b