search for: 5e6

Displaying 9 results from an estimated 9 matches for "5e6".

Did you mean: 5,6
2008 Jun 18
3
R perfomance question !!!
I ran the simple script bellow and received shoking results. It was complied for about 15 seconds !!! on modern Intel Core Duo computer. i=0; while(i<5000000) { i=i+1; } Using Visual Basic I can complete the same script (simple loop of 5000000 itterations) in 0.1 sec. Is it realy R not suitable for huge computing. -- View this message in context:
2011 Apr 15
1
[Rcpp-devel] Find number of elements less than some number: Elegant/fastsolution needed
...umeric"), src, plugin='RcppArmadillo') ## danger -- violates R semantics f5 <- cxxfunction(signature(x="numeric", y="numeric"), src2, plugin='RcppArmadillo') ## this is a really ugly test. ygwypf, i suppose :) for (i in 1:5) { x1 <- x <- rnorm(5e6) y1 <- y <- rnorm(5e6) print( cbind( r1=system.time(r1 <- f1(x,y)), r2=system.time(r2 <- f2(x,y)), r3=system.time(r3 <- f3(x1,y1)), r4 = system.time(r4 <- f4(x,y)), r5 = system.time(r5 <- f5(x,y)) )) } print(all.equal(r1, r2)) print(all.equal(r1, r3)) print(al...
2005 Jan 24
1
Weighted.mean(x,wt) vs. t(x) %*% wt
What is the difference between the above two operations ? [[alternative HTML version deleted]]
2012 Apr 26
2
How to plot graph with different scale (y axis) on same graph?
Hi, I have my data in below format. position var1 var2 2 .1 10 3 .29 89 12 .56 100 425 .34 1234 6546 .12 21 .... ..... ..... .... ..... ......
2011 Sep 29
1
efficient coding with foreach and bigmemory
I recently learned about the bigmemory and foreach packages and am trying to use them to help me create a very large matrix. Without those packages, I can create the type of matrix that I want with 10 columns and 5e6 rows. I would like to be able to scale up to 5e9 rows, or more, if possible. I have created a simplified example of what I'm trying to do, below. The first part of the code shows what I'm trying to do without using the bigmemory or foreach packages. I take information from a data fra...
2016 Mar 16
2
match and unique
Is the phrase "index <- match(x, sort(unique(x)))" reliable, in the sense that it will never return NA? Context: Calculation of survival curves involves the concept of unique death times. I've had reported cases in the past where survfit failed, and it was due to the fact that two "differ by machine precision" values would sometimes match and sometimes not,
2007 Apr 30
0
[LLVMdev] Boostrap Failure -- Expected Differences?
...> @@ -11991,55 +11991,55 @@ > 5e1: 75 65 jne 648 <.str9+0x8> > ... > > -000005e4 <__FUNCTION__.22989>: > +000005e4 <__FUNCTION__.22896>: > 5e4: 6d insl (%dx),%es:(%edi) > 5e5: 61 popa > - 5e6: 72 6b jb 653 <__FUNCTION__.20708+0x4> > + 5e6: 72 6b jb 653 <__FUNCTION__.20622+0x4> > 5e8: 5f pop %edi > 5e9: 63 6f 6e arpl %bp,0x6e(%edi) > - 5ec: 73 74 jae 662 <__FUNCT...
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 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking