Re: [R] Max value of an integer

2012-01-11 Thread Mikko Korpela
On 01/11/2012 12:01 PM, Rui Esteves wrote: > Is there any constant that represents the maximum value of an integer? Yes, there is (assuming you refer to the 'integer' type). See ?.Machine. > .Machine$integer.max [1] 2147483647 > as.integer(2147483647) [1] 2147483647 > as.integer(2147483648) [1]

Re: [R] Max value of an integer

2012-01-11 Thread Berend Hasselman
rmx wrote > > Hi. > Is there any constant that represents the maximum value of an integer? > If I need to setup by myself what is the maximum value? > ?.Machine i.e. .Machine$integer.max Berend -- View this message in context: http://r.789695.n4.nabble.com/Max-value-of-an-integer-tp428495