The R Project SVN R

Rev

Rev 28349 | Rev 28528 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28349 Rev 28357
Line 1... Line 1...
1
 
1
 
2
R : Copyright 2004, The R Foundation for Statistical Computing
2
R : Copyright 2004, The R Foundation for Statistical Computing
3
Version 1.9.0 Under development (unstable) (2004-02-19), ISBN 3-900051-00-3
3
Version 1.9.0 Under development (unstable) (2004-02-20), ISBN 3-900051-00-3
4
 
4
 
5
R is free software and comes with ABSOLUTELY NO WARRANTY.
5
R is free software and comes with ABSOLUTELY NO WARRANTY.
6
You are welcome to redistribute it under certain conditions.
6
You are welcome to redistribute it under certain conditions.
7
Type 'license()' or 'licence()' for distribution details.
7
Type 'license()' or 'licence()' for distribution details.
8
 
8
 
Line 3694... Line 3694...
3694
> 
3694
> 
3695
> 
3695
> 
3696
> ## Misleading error messages on integer overflow
3696
> ## Misleading error messages on integer overflow
3697
> ## Uwe Ligges, R-devel, 2004-02-19
3697
> ## Uwe Ligges, R-devel, 2004-02-19
3698
> try(numeric(2^31))
3698
> try(numeric(2^31))
3699
Error in vector("double", length) : vector: invalid length value (too large or NA)
3699
Error in vector("double", length) : vector size specified is too large
3700
In addition: Warning message: 
-
 
3701
NAs introduced by coercion 
-
 
3702
> try(matrix( , 2^31, 1))
3700
> try(matrix( , 2^31, 1))
3703
Error in matrix(, 2^31, 1) : matrix: invalid nrow value (too large or NA)
3701
Error in matrix(, 2^31, 1) : matrix: invalid nrow value (too large or NA)
3704
In addition: Warning message: 
3702
In addition: Warning message: 
3705
NAs introduced by coercion 
3703
NAs introduced by coercion 
3706
> try(matrix( , 2^31/10, 100))
3704
> try(matrix( , 2^31/10, 100))