« first day (2584 days earlier)      last day (700 days later) » 

5:26 AM
Goodmorning all
 
5:53 AM
hello
 
@zx8754 They love good questions about that. Ask an intersting question about data visualization and you are likely to end up on the HNQ list.
 
 
1 hour later…
7:26 AM
Hello :)
Can someone test this please? Codes for testing are in "ALT" of the images.
Brodie says "Today's counterintuitive #rstats factoid: it is faster (and more precise) to use `mean` to compute sums than to use `sum`"
 
7:57 AM
Nop :P
 
So what is happening here then? maybe different R version, OS?
 
No idea. I replied on the tweet...let them figure it out :P
 
8:30 AM
with R 4.1.2:
Unit: milliseconds
                expr      min       lq     mean   median       uq      max neval cld
 mean(x) * length(x) 15.58695 15.68453 16.22232 15.78636 16.83236 18.55509   100  a
              sum(x) 19.81934 19.95399 20.26907 20.06088 20.44677 21.93115   100   b
 
@Jaap Interesting
 
with R 4.0.3:
Unit: milliseconds
                expr       min        lq     mean    median       uq     max neval cld
 mean(x) * length(x) 18.992901 19.876851 21.95638 20.603651 21.82090 53.9233   100   b
              sum(x)  9.196801  9.555951 11.35262  9.873601 10.62785 45.9310   100  a
R 4.1.2 was on a iMac
R 4.0.3 was on a Windows machine
when changing the Windows machine to R 4.1.3:
Unit: milliseconds
                expr       min        lq     mean    median       uq     max neval cld
 mean(x) * length(x) 19.017302 20.173401 21.78271 21.030151 22.12195 34.2698   100   b
              sum(x)  9.157301  9.592001 10.41745  9.966451 10.67990 16.1436   100  a
 
9:00 AM
@Jaap Which CPU is that on the mac? I don't see this with various R versions on my windows machine (Intel Core i7-4790K CPU) and also not on our ubuntu machine (some AMD CPU). Would need to check at home with my old macbook pro.
 
9:20 AM
@Roland Intel Core i7-6700K
 
 
3 hours later…
12:04 PM
3
Q: Announcing the arrival of Valued Associate #1214: Dalmarus

Cesar MWe have been on a journey to revamp and improve the /contact support experience - it has moved back to the Community Team, we hired dedicated folks to do it, and switched systems more than once by now. A couple of months ago, the support team moved from Rosie to me, and I wanted to make some furt...

 

« first day (2584 days earlier)      last day (700 days later) »