« first day (1427 days earlier)      last day (1748 days later) » 

8:10 AM
@DirkEddelbuettel January this year had 18 hours of sunlight. Total. For the whole month.
 
8:44 AM
R is apparently a man and like any man, he doesn't listen: stackoverflow.com/questions/25843989/removing-na-r-not-working
 
9:20 AM
@Thomas love that user's name....
 
9:47 AM
@Spacedman XoXo
 
Its either a 13 year old girl or someone pretending to be one...
am resisting the temptation to ask if the user has "Daddy issues"
 
@Spacedman That would probably flagged as sexual harassment
 
 
1 hour later…
11:04 AM
@DirkEddelbuettel reopen? I do think, like Ben B., that the underlying question is worth something, and hadley appears willing to help make it a useful piece of the Internet
note that I downvoted the question, it's really poorly presented
 
@baptiste its just a benchmarking question, dplyr vs sqldf, and I dont know why Hadley brought databases into the comment.
also, ancient version of R.
 
pkgKitten has inspired me to write a cranky package: "creating R packages that will get you growled at"
 
pkgLion?
 
@Spacedman it's my understanding that sqldf uses databases under the hood
 
the df in sqldf stands for....
 
11:21 AM
@mdsumner At least something good came of pkgKitten then ;-)
Nice, and as usual with than a grain of thruth:
 
What to do with this? You can scale to [0,1], so it can be answered, but of course the perceived need to do so is just a misconception. Should we close it?
 
12:34 PM
@DavidArenburg i've just realised that the breakpoint extraction example in ?cut is not as general as it ought to be. It'd be nice if someone with regex fu could weigh in and suggest a more reliable trick to R-devel.
 
12:45 PM
@baptiste I haven't tested, but I'm sure akruns answer dealt with this problem. I still don't understand why there were so many answers posted there, while it's entirely unclear what the OP is trying to achieve
 
@baptiste Why do you need a regex at all? You know your breakpoints and can extract the lower and upper interval limits for the values with basic subsetting.
 
1:38 PM
@DavidArenburg it's unlikely a solution starting with library(stringr) would please all R users.
@Roland I don't understand what you mean. Using regex to extract lower and upper bounds from the results of cutting a vector sounds reasonable to me. It's obviously simpler to just split the labels but a well designed regex would be more reliable in my opinion.
 
@baptiste He only uses it from trimming leading spaces. That can be easily done without stringr. I've tested his solution and it looks good.
 
2:05 PM
I mean like this:
x <- 1:5
breaks <- c(0,3,6)
y <- cut(x, breaks)
upr <- breaks[-1][as.integer(y)]
lwr <- head(breaks, -1)[as.integer(y)]
 
2:37 PM
@Roland sure, but people will typically want to extract the bounds when they've been calculated by cut(x, breaks=3), not provided by the user.
 
As spotted by Ben Bolker, please delete this one
 
2:56 PM
@DirkEddelbuettel isnt the original question irrelevant now too? I mean, windows Vista
 
The generic aspect of 'how do I install a not-current version' still holds up well.
 
 
2 hours later…
5:07 PM
Do we need different tags to distinguish between markdown in R (as in the markdown package) and markdown in RStudio (as in the rmarkdown package)?
 
 
1 hour later…
6:29 PM
@DirkEddelbuettel congrats on the R-Foundation role. Did you get a free t-shirt?
 
@SimonO'Hanlon Thanks, and no, not yet at least. ;-)
 
 
1 hour later…
8:18 PM
@DavidArenburg Done and done.
 
@DirkEddelbuettel Thanks
 
 
1 hour later…
9:32 PM
epidemiologists, statisticians, even social scientists, unite! meta.stackoverflow.com/q/271434/1478381
 
9:48 PM
@SimonO'Hanlon That's a worthy suggestion indeed. Although I have a guts feeling that it will be declined as they are intentionally hiding this information from you IMO
 
@DavidArenburg that is definitely one to ponder. (was the poor design deliberate) I do not hold my breath on it being accepted! :-)
 
10:51 PM
R is so 1990's. Love it.
It used to be cool to have slow for loops. It was the sacrifice for doing cool stats in R. But that was the 1990s. Now, when I code in R, I try to keep as little code as possible in the body of for loops, and avoid them entirely if possible. This is because R is so 1990s, in this regard. For non-trivial problems, this is always a trade-off between time-spent thinking creatively about how to vectorise your code, and time-spent waiting for a for loop to terminate. Its a balance. If my for loop body is just intensive, I use package Rcpp. If library is there, I use julialang.org — Rusan Kax 2 hours ago
 
11:32 PM
@thelatemail Awesome catch. That question and the three comments are so tone-deaf that it ought to be migrated to dataschmience.s.e. as soon as possible.
 
11:44 PM
@DirkEddelbuettel - you should at least be happy that Rcpp is recognised as 21st century technology.
 

« first day (1427 days earlier)      last day (1748 days later) »