« first day (1647 days earlier)      last day (1528 days later) » 

3:01 AM
Any data.table experts want to have a swing at this? I feel there is a simple solution going missing:
0
Q: Selecting rows or columns with data.table R?

skan Imagine I have a data.table, for example: library(data.table) RRR <-data.table(1:15,runif(15),rgeom(15,0.5),rbinom(15,2,0.5)) V1 V2 V3 V4 1: 1 0.33577273 0 0 2: 2 0.66739739 2 1 3: 3 0.07501655 0 0 4: 4 0.43195663 2 1 5: 5 0.39525841 3 2 6: 6 0.15189738 1 ...

 
3:20 AM
what's wrong with rowSums() solution?
 
 
3 hours later…
 
2 hours later…
8:48 AM
@MrFlick Not specific to this problem but all the row/col/Sums/Means/etc functions convert non-matrix objects to a matrix, which in tern can create a huge overhead if the data is big. Generally, when using data.table, lapply(.SD, sum) will be both faster and memory efficient than colSums.
 
 
7 hours later…
3:44 PM
Close not reproducible
 
 
2 hours later…
6:03 PM
The CRAN package submission page seems to be down:
Can any of you get to the submission form?
 
6:26 PM
I get parts of the page but not the central frame.
Server probably had a malfunction because the incoming electricity was not in Title Case.
5
 
7:05 PM
Thank you. I get the same.
 
 
2 hours later…
8:56 PM
Now I have CRAN complain to me that I reported the outage on r-devel (hence to users of the service) rather than just them. #cannotWin
 
9:15 PM
Users? Who cares about users?
 

« first day (1647 days earlier)      last day (1528 days later) »