« first day (1632 days earlier)      last day (1672 days later) » 

 
3 hours later…
 
1 hour later…
6:17 AM
Hello hello :-)
 
Good morning
 
6:57 AM
aloha!
 
7:24 AM
@zx8754 That's not what the study claims, though. :)
 
Yeah, there are other million studies about this, and result is not clear. But based on not very scientific method - observation, I'd say it is true.
 
hmm don't know how this is working: stackoverflow.com/a/58317720/680068
 
It probably needs word boundaries but I was surprised too. Strange..
 
8:12 AM
@RonakShah he deleted the answer... maybe undelete?
 
yes, if it works as intended should be undeleted
commented on his last answer as well, hopefully he'll undelete himself
 
8:30 AM
yep grep('\\btree\\b', perl=TRUE) should work
 
string thing is this is not data.table specific and works on normal lists as well. I never knew grep can do that
 
Out of curiosity, could someone tell me if there's a drop in visit in the analytics views on SO ? (need >25k to see stackoverflow.com/site-analytics )
 
I don't see much difference. It is more or less the same in last 4 months
22 - 23 M page views everyday
but there is a slight decrease in week of 23 sep vs that of 30 Sep
134M vs 129 M
 
8:51 AM
Same on devops.se, seems the last hiccup had really impacted the network as a whole, or they did change their stats maybe
 
DT[ , ..someVar ] gives me 1 column datatable, any way to get a vector?
 
@zx8754 DT[[ someVar ]]?
 
of course #facepalm
 
9:24 AM
@Jaap how do you do this without key.
x = "someVal"; DT[ Col1 == x, ] # doesn't work.
 
@zx8754 strange, do you have a reproducible example?
need to run now for an appointment; will look at it early afternoon
 
y = "8"
x <- setDT(data.frame(mtcars))
x$cyl <- as.character(x$cyl)
x[cyl == y, ]

hmmmm this works
on my real data doesn't.
> Gene <- "GEN1"
> nrow(gene10vars[ SYMBOL == Gene, ])
[1] 0
> nrow(gene10vars[ SYMBOL == "GEN1", ])
[1] 255
> class(Gene)
[1] "character"
> class(gene10vars$SYMBOL)
[1] "character"
 
9:44 AM
Try putting the comparison in parens? Or do you have a column Gene?
 
@Roland Ah yes, I have a "Gene" column in there, sorted, thank you.
of course, it is comparing those 2 columns and not the "GEN1" value in "SYMBOL" column... so 0 rows.
 
12:27 PM
Anyone into tidytuesday?
This week it is about International Powerlifting , maybe of interest/fun for @DavidArenburg :)
 
@zx8754 misread that :(
 
@Tensibai How? :/
 
A NSFW hashtag on twitter (I think)
(mostly replaced a d by a t)
 
12:54 PM
last delete, OP is rude in comments: stackoverflow.com/q/58322813/680068
 
@zx8754 OP suspended for a year
 
1:33 PM
@RonakShah totally deserved
 
1:51 PM
@zx8754 comments that were removed ?
 
2:47 PM
@Cath yeah, Funk (80K rep on php tag) closed as dupe, and said check the link. then op started to be mad at him/her. then another user who tried to explain what Funk said, got targeted saying I will find you on google, and posted their location, photo, linkedin... links and said we are close to each other... no idea why, anyway probably annoyed kid with no social barriers.
 
@Natty tp
 
4:17 PM
when I want to store the path to an R-script file I can do rstudioapi::getActiveDocumentContext() when using Rstudio
that -----^ doesn't work when sourcing the file
anyone an idea how to solve that?
 
@Jaap Have you used the here package?
 
@camille yes, it does what I want on my own computer; but didn't seem to work on my VM from work
will test again
@camille confirmed: either sourcing or running in Rstudio doesn't work :-(
 
5:02 PM
@zx8754 Interesting, I saw few familiar names too
 
5:44 PM
@camille this Q&A seems to have some interesting alternatives :-)
 

« first day (1632 days earlier)      last day (1672 days later) »