Herve, it looks like 64-bit. I just tried another 32 bit version: Windows build R-2.4.1 under VMWare on the same 64 bit Ubuntu as in my post above and Windows version shows the same bug as you report:
R2.4.1 on Windows 2000 as guest system in VMWare Ubuntu 6.10 64bit ----------- > big <- 2:(2**30) Fehler: kann Vektor der Größe 0 Kb nicht allozieren > sessionInfo() R version 2.4.1 (2006-12-18) i386-pc-mingw32 locale: LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252 attached base packages: [1] "stats" "graphics" "grDevices" "utils" "datasets" "methods" [7] "base" -- Dr Oleg Sklyar | EBI-EMBL, Cambridge CB10 1SD, UK | +44-1223-494466 Herve Pages wrote: > Hi Oleg, > > Oleg Sklyar wrote: >> my R-SVN revision is 40458 compared to 40386 yours, could it be >> corrected already? > > No I don't think so. Maybe an architecture specific problem? > You are on a 64-bit system, I'm on a 32-bit system. > > I was able to reproduce on 3 systems so far (with any version of R): > - on my Pentium M laptop with Ubuntu 6.06 > - on a Linux SUSE 9.2 32-bit system > - on a Core 1 Duo (32-bit) Mac Mini > > All those systems are 32-bits. > > I've tried on a couple of 64-bit systems and I don't get this problem. > > Cheers, > H. > >> * ~: 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 >> >> >> [EMAIL PROTECTED] 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@r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel