[Rd] Wrong vector size reported by error message
Oleg Sklyar
osklyar at ebi.ac.uk
Tue Feb 6 00:01:24 CET 2007
my R-SVN revision is 40458 compared to 40386 yours, could it be
corrected already?
* ~: R
> 2**30
[1] 1073741824
> a<-2:1073741824
Error: cannot allocate vector of size 4194304 Kb
> sessionInfo()
R version 2.5.0 Under development (unstable) (2007-01-22 r40548)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
[7] "base"
>
--
Dr Oleg Sklyar | EBI-EMBL, Cambridge CB10 1SD, UK | +44-1223-494466
hpages at fhcrc.org wrote:
> Hi,
>
> On my system, I get the following error message:
>
> > big <- 2:(2**30)
> Error: cannot allocate vector of size 0 Kb
>
> Note the wrong "size 0 Kb" in the message!
>
> Cheers,
> H.
>
>
>> sessionInfo()
> R version 2.5.0 Under development (unstable) (2007-01-05 r40386)
> i686-pc-linux-gnu
>
> locale:
> LC_CTYPE=en_CA.UTF-8;LC_NUMERIC=C;LC_TIME=en_CA.UTF-8;LC_COLLATE=en_CA.UTF-8;LC_MONETARY=en_CA.UTF-8;LC_MESSAGES=en_CA.UTF-8;LC_PAPER=en_CA.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_CA.UTF-8;LC_IDENTIFICATION=C
>
> attached base packages:
> [1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
> [7] "base"
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list