« first day (2218 days earlier)      last day (1072 days later) » 

6:32 AM
Good morning folks
 
 
1 hour later…
8:01 AM
Hello
Can someone hammer this with link in the comment stackoverflow.com/q/62577775/680068
 
8:21 AM
@zx8754 k
 
@Cath Cheers
 
8:44 AM
 
9:07 AM
sup. Apparently base R added a pipe operator stat.ethz.ch/R-manual/R-devel/library/base/html/pipeOp.html
 
@DavidArenburg It is gonna be fun mtcars |> head(10) %>% ggplot(xxx) + geom_point()
 
@zx8754 I guess not different than using %>%, no?
 
It is not, but users will mix all of them into a spaghetti
At least |> will turn into nice triangle ligatures.
 
there is a new syntax for anonymous functions too apparently r-bloggers.com/2021/05/new-features-in-r-4-1-0
So this is now valid
  c("dogs", "cats", "rats") |>
  {\(x) grepl("at", x)}()
O_o
 
Yeah, they've been talking about it ages ago. I think \ means lamda
 
9:20 AM
@zx8754 Actually there is a minor difference that you can't pipe a function without a parenthesis at the end, i.e., you can't do x |> head
 
yes
 
@zx8754 I thought it is meant to escape the parenthesis somehow
 
I wished tidyverse adopted |> or base didn't implemented it :D
 
otherwise it will be just evaluated like you do with a Boolean expression
maybe they will adopt it, who knows
I haven't updated to R 4 yet TBH, it had some magic number issues with some of my .RData files so I gave up
I'm still on 3.6.3
 
@DavidArenburg yeah, was stuck with 3.6.2 for years, then had to change recently because of some new packages updates.
"\ kinda looks like half a λ" ... no it doesn't.
 
9:41 AM
@zx8754 hmm, didn't think about it
 
10:40 AM
It's funny though that all these years CRAN couldn't transform %in% into just in like any other function
 
Yeah, I keep doing this mistake often:

> for(i %in% 1:10) print(i)
Error: unexpected SPECIAL in "for(i %in%"
 
11:03 AM
BTW, @BhargavRao How is the COVID situation at your place? Are you being affected by the crisis in your country?
 
 
1 hour later…
12:09 PM
3
Q: The future of Community Promotion, Open Source, and Hot Network Questions Ads

JNatIt's now May, and if Community Promotion or Open Source Ads are something you care about, you may have noticed that there hasn't been a 2021 refresh yet. In case you missed this post, please check it out for some details about why the refresh was pushed back, and why a project around the rethinki...

 
 
6 hours later…
5:49 PM
@DavidArenburg Fortunately, nope. Managed to get my first shot, parents are all vaccinated completely. Thanks for asking!
It's just that the country is going to go into an economic crisis soon, which is the worrying factor. :\
 

« first day (2218 days earlier)      last day (1072 days later) »