last day (14 days later) » 

12:31
Hey @akrun let me know if the dupe finding thing bothers you. Didn't want to discuss in chat room
@PierreLafortune I don't bother at all. Please ask DavidArenburg. He closed many of my dupes.
@PierreLafortune In this particular case (the link I commented), I had some discussion with David Arenburg yesterday. He closed one question yesterday, which can be called as dupe but it is still very tricky
@PierreLafortune For example, suppose we want to get the mean of a variable by group,
we use setDT(df1)[, mean(var1), id]
@akrun yes, but closing for dupes doesn't take your upvotes away
The link he showed had this knd of operations,
But, consider this, setDT(df1)[, mean(var1==1), id]
It is tricky for a newbie to do that kind of stuff, and closing that as dupe is not what I would do.
For a mean of the logical index. Yes they are close.
@akrun It would depend if the the user already got to the point of having var1==1.
But, to know that we can do the mean of logical index is not what the newbie will be expected to do.
@PierreLafortune Anyway, my point is that it is not an exact dupe. So, I suggested this link to DavidArenburg to close the post answered.
If it is not considered as a dupe, then the other one is also not. So I reopened.
12:45
If they had mean(var1 == 1) already and just needed to do it by group, then it's a dupe. But the broader issue is what harm is there in suggesting dupes when we think there is one
@PierreLafortune No, the OP didn't know about mean(var1==1) a
@akrun A new answer would be helpful then
@PierreLafortune Coming to the link you showed, it is a datetime object from which we are extracting the 'year'. so not an exact dupe. Even, there were many cases where we had to reopen this based on that kind of technicality. You can ask MichaelChirico.
@PierreLafortune If you want me to close this, I can do it.
No I just wanted to suggest a look at the other answer so we can all determine the closeness.
If that isn't the best link, I know the exact question has been asked before. Just can't find it
@PierreLafortune Okay, closed it. I guess your suggestion was close enough. Hopefully, the OP doesn't complain.
In many cases, I had to reopen based on the OP's request too.
12:50
I upvoted your answer. We'll see what they say
@PierreLafortune I have to go now. See u later. Have a good weekend.

last day (14 days later) »