The R Project SVN R

Rev

Rev 28254 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28254 Rev 28362
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-03), 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 3690... Line 3690...
3690
sample estimates:
3690
sample estimates:
3691
probability of success 
3691
probability of success 
3692
             0.9876543 
3692
             0.9876543 
3693
 
3693
 
3694
> 
3694
> 
-
 
3695
> 
-
 
3696
> ## Misleading error messages on integer overflow
-
 
3697
> ## Uwe Ligges, R-devel, 2004-02-19
-
 
3698
> try(numeric(2^31))
-
 
3699
Error in vector("double", length) : vector size specified is too large
-
 
3700
> try(matrix( , 2^31, 1))
-
 
3701
Error in matrix(, 2^31, 1) : matrix: invalid nrow value (too large or NA)
-
 
3702
In addition: Warning message: 
-
 
3703
NAs introduced by coercion 
-
 
3704
> try(matrix( , 2^31/10, 100))
-
 
3705
Error in matrix(, 2^31/10, 100) : matrix: too many elements specified
-
 
3706
> try(array(dim=c(2^31/10, 100)))
-
 
3707
Error in array(dim = c(2^31/10, 100)) : dim specifies too large an array
-
 
3708
> ## reported negative values (really integer NA) for R < 1.9.0
-
 
3709
>