Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: tags/R-uthread…
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 1.23 kb
R : Copyright 2001, The R Development Core Team
Version 1.4.0 Under development (unstable) (2001-10-19)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.
R is a collaborative project with many contributors.
Type `contributors()' for more information.
Type `demo()' for some demos, `help()' for on-line help, or
`help.start()' for a HTML browser interface to help.
Type `q()' to quit R.
> #### STRICT test suite in the spirit of no-segfaults,
> #### but with explicit statements.
>
> options(error=expression(NULL))
>
> ## These segfaulted in 1.3.x , give "could not allocate" errors now
> integer(2^30+1)
Error in vector("integer", length) : cannot allocate vector of length 1073741825
> double(2^30+1)
Error in vector("double", length) : cannot allocate vector of length 1073741825
> complex(2^30+1)
Error in complex(2^30 + 1) : cannot allocate vector of length 1073741825
> character(2^30+1)
Error in vector("character", length) : cannot allocate vector of length 1073741825
> vector("list", 2^30+2)
Error in vector("list", 2^30 + 2) : cannot allocate vector of length 1073741826
>
>
Jump to Line
Something went wrong with that request. Please try again.