search for: 3e9

Displaying 18 results from an estimated 18 matches for "3e9".

Did you mean: 39
2017 Jun 02
4
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...c vector 'xx' and I want to use sum() to count the number of elements that satisfy some criteria like non-zero values or values lower than a certain threshold etc... The problem is: sum() returns an NA (with a warning) if the count is greater than 2^31. For example: > xx <- runif(3e9) > sum(xx < 0.9) [1] NA Warning message: In sum(xx < 0.9) : integer overflow - use sum(as.numeric(.)) This already takes a long time and doing sum(as.numeric(.)) would take even longer and require allocation of 24Gb of memory just to store an intermediate numeric vector made o...
2016 Nov 15
1
creating a long list puts R in a state where many things stop working
Hi, After I create a long list e.g. with x <- vector(mode="list", length=3e9) many bad things start to happen e.g. some things stop working with a spurious error message: gc() # Error in gc() : # long vectors not supported yet: /home/hpages/src/R-3.3.2/src/main/memory.c:1137 x_lens <- lengths(x) # Error in lengths(x) : # long vectors not supporte...
2013 Apr 23
1
about the 'length' arg of vector()
...ble values will be coerced to integer: supplying an argument of length other than one is an error. Since long vectors are supported, it doesn't seem to be true anymore that "double values will be coerced to integer": > bigraw <- vector("raw", 3e9) > length(bigraw) [1] 3e+09 > storage.mode(length(bigraw)) [1] "double" At least not always... Thanks, H. -- Herv? Pag?s Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M1-B514 P.O. Box...
2007 Aug 27
1
fix for broken largefile seek() on 32-bit linux (PR#9883)
...ux Submission from: (NULL) (206.248.132.197) DESCRIPTION seek() on files larger than 2 gigabytes fails for large values of "where" on i386 linux 2.6.13 (and presumably other 32-bit unix-like platforms). e.g.: > f<-file("3gigabytefile.dat", "rb") > seek(f, 3e9, "start", "r") [1] 0 ## correct > seek(f, NA, "start", "r") [1] 0 ## should be 3e+09 DIAGNOSIS Typo: the compile-time tests for large file support use "HAVE_SEEKO" instead of "HAVE_FSEEKO", and so fail. The same typo appears in o...
2017 Jun 07
1
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...mber of elements that satisfy some >> criteria like non-zero values or values lower than a >> certain threshold etc... >> The problem is: sum() returns an NA (with a warning) if >> the count is greater than 2^31. For example: >>> xx <- runif(3e9) sum(xx < 0.9) >> [1] NA Warning message: In sum(xx < 0.9) : integer >> overflow - use sum(as.numeric(.)) >> This already takes a long time and doing >> sum(as.numeric(.)) would take even longer and require >> allocation of 24Gb of memory jus...
2018 Jan 25
2
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...gt; the number of elements that satisfy some criteria like non-zero >> values or values lower than a certain threshold etc... >> >> The problem is: sum() returns an NA (with a warning) if the count >> is greater than 2^31. For example: >> >> > xx <- runif(3e9) >> > sum(xx < 0.9) >> [1] NA >> Warning message: >> In sum(xx < 0.9) : integer overflow - use sum(as.numeric(.)) >> >> This already takes a long time and doing sum(as.numeric(.)) would >> take even longer and require allocation of 24Gb of...
2016 Mar 23
1
Clang/LLVM producing incomplete & erroneous debug information
...e_base : 1 byte block: 9c (DW_OP_call_frame_cfa) <3e0> DW_AT_GNU_all_call_sites: 1 <3e0> DW_AT_sibling : <0x58b> <2><3e4>: Abbrev Number: 22 (DW_TAG_formal_parameter) <3e5> DW_AT_name : (indirect string, offset: 0x138): argc <3e9> DW_AT_decl_file : 1 <3ea> DW_AT_decl_line : 16 <3eb> DW_AT_type : <0x3f> <3ef> DW_AT_location : 0x6f (location list) <2><3f3>: Abbrev Number: 22 (DW_TAG_formal_parameter) <3f4> DW_AT_name : (indirect st...
2017 Jun 06
0
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...um() to count the number of elements that satisfy some > criteria like non-zero values or values lower than a > certain threshold etc... > The problem is: sum() returns an NA (with a warning) if > the count is greater than 2^31. For example: >> xx <- runif(3e9) sum(xx < 0.9) > [1] NA Warning message: In sum(xx < 0.9) : integer > overflow - use sum(as.numeric(.)) > This already takes a long time and doing > sum(as.numeric(.)) would take even longer and require > allocation of 24Gb of memory just to store an int...
2017 Jun 02
0
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...to use sum() to count > the number of elements that satisfy some criteria like non-zero > values or values lower than a certain threshold etc... > > The problem is: sum() returns an NA (with a warning) if the count > is greater than 2^31. For example: > > > xx <- runif(3e9) > > sum(xx < 0.9) > [1] NA > Warning message: > In sum(xx < 0.9) : integer overflow - use sum(as.numeric(.)) > > This already takes a long time and doing sum(as.numeric(.)) would > take even longer and require allocation of 24Gb of memory just to > store an...
2007 May 24
2
Calculation of ratio distribution properties
Hi all, Looking to calculate the expected mean and variance of a ratio distribution where the source distributions are gaussian with known parameters and sample values are correlated. I see (from wikipedia: http://en.wikipedia.org/wiki/ Ratio_distribution#Gaussian_ratio_distribution) that this calculation is quite involved, so I'm hoping that someone has already coded a function to
2018 Jan 30
2
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...>> values or values lower than a certain threshold etc... > >>> > >>> The problem is: sum() returns an NA (with a warning) if the count > >>> is greater than 2^31. For example: > >>> > >>> > xx <- runif(3e9) > >>> > sum(xx < 0.9) > >>> [1] NA > >>> Warning message: > >>> In sum(xx < 0.9) : integer overflow - use sum(as.numeric(.)) > >>> > >>> This already takes a long time and doing sum(as.nu...
2018 Jan 27
0
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...teria like non-zero >>> values or values lower than a certain threshold etc... >>> >>> The problem is: sum() returns an NA (with a warning) if the count >>> is greater than 2^31. For example: >>> >>> > xx <- runif(3e9) >>> > sum(xx < 0.9) >>> [1] NA >>> Warning message: >>> In sum(xx < 0.9) : integer overflow - use sum(as.numeric(.)) >>> >>> This already takes a long time and doing sum(as.numeric(.)) would >>> ta...
2018 Feb 01
0
sum() returns NA on a long *logical* vector when nb of TRUE values exceeds 2^31
...or values lower than a certain threshold etc... >> >>> >> >>> The problem is: sum() returns an NA (with a warning) if the count >> >>> is greater than 2^31. For example: >> >>> >> >>> > xx <- runif(3e9) >> >>> > sum(xx < 0.9) >> >>> [1] NA >> >>> Warning message: >> >>> In sum(xx < 0.9) : integer overflow - use sum(as.numeric(.)) >> >>> >> >>> This already takes a long time a...
2003 Apr 24
0
Italian-crafted Rolex - only $65 - $140!! Free SHIPPING!! (PR#2835)
...nt face=3D=22Verdana=22=3E7=2E Movado=3C=2Ffont=3E=3C=2Fspan=3E=3C=2Fp=3E =3Cp class=3D=22MsoNormal=22=3E=3Cspan lang=3D=22EN-US=22=3E=3Cfont face=3D=22Verdana=22=3E8=2E Oris=3C=2Ffont=3E=3C=2Fspan=3E=3C=2Fp=3E =3Cp class=3D=22MsoNormal=22=3E=3Cspan lang=3D=22EN-US=22=3E=3Cfont face=3D=22Verdana=22=3E9=2E Roger Dubuis=3C=2Ffont=3E=3C=2Fspan=3E=3C=2Fp=3E =3Cp class=3D=22MsoNormal=22=3E=3Cspan lang=3D=22EN-US=22=3E=3Cfont face=3D=22Verdana=22=3E10=2E Ulysse=3C=2Ffont=3E=3C=2Fspan=3E=3C=2Fp=3E =3Cp class=3D=22MsoNormal=22=3E=3Cspan lang=3D=22EN-US=22=3E=3Cfont face=3D=22Verdana=22=3E11=2E Zenith=3C=...
2005 Dec 21
9
question about changejournal
Hi, I''ve got a newbie question--sorry if this is covered elsewhere, I parsed through the archives for awhile and didn''t see it. I''d like to listen for whenever a file is renamed (e.g. foo.txt -> foo.old) and then magically change it back. This sounds odd, but I''m working with a stubborn application and this will actually make things work nice. So, if I do:
2007 Apr 30
0
[LLVMdev] Boostrap Failure -- Expected Differences?
...2f das > 3e3: 63 6f 6d arpl %bp,0x6d(%edi) > - 3e6: 70 69 jo 451 <__FUNCTION__.21323+0x1> > + 3e6: 70 69 jo 451 <__FUNCTION__.21236+0x1> > 3e8: 6c insb (%dx),%es:(%edi) > 3e9: 65 gs > - 3ea: 72 2f jb 41b <__FUNCTION__.20810+0xf> > + 3ea: 72 2f jb 41b <__FUNCTION__.20724+0xf> > 3ec: 6c insb (%dx),%es:(%edi) > 3ed: 6c insb (%dx),%es:(%edi) >...
2007 Apr 27
2
[LLVMdev] Boostrap Failure -- Expected Differences?
The saga continues. I've been tracking the interface changes and merging them with the refactoring work I'm doing. I got as far as building stage3 of llvm-gcc but the object files from stage2 and stage3 differ: warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs (Are the above two ok?) The list below is clearly bad. I think it's every object file in the
2008 May 21
0
Errors in using gdb (PR#11496)
...vbgZQ/2LvYy/gcKDJEo9n9KfmgAW o14S9ZMoSbdsws+U1YP03NQM78WdZi/q1tpYsaEK/LMDL7EdH/gc6nz6kwcbWypc2C8xeaMw RMLqQrf7YsWb9I5DVp94WRAjkLAtgYc3CQZpx0eDTOskEom0SrE6+sAkM0f9wTyBhZ4hjNUn QB12Bo4pfeBe6KwnoCqdDqWf+akkcNz38cx0g+MDXLdidbhzZk6Hm3d8v6lk9X6zBSg3Nt4c b7Kt5QGVp0b11Omm3e6g1zTieldr2BdZHfDPbwd+iuXNjsjqzcxB3e9Eie9lszUqvdzLsjo6 rjNcx8mxGYrnGdtrZXV83YMsBhpP14vM5vHmt8GMHz7s48muN+p1Ay/otEK/Hfrwt9UN2kE6 YMADPo+AhPs+lBF8CwdhG+B6xfOr+3HUyqZ072TzcgKIh9lPJlG2xUncT6Dssq0fZT+yhCnO d/3MX8brdVpxUK9VFpm5N/WXpxgeymwqUzwnm5xn8qNQoJWwuu2kow73xQcZyw72x5vpgAnY vI4PT3368wHb0iM+fttqd6BVgFOZYb/kSAoSiUQiEauPIKujE0uSTuacgloPt8x...