;timedatectl")) && !grepl("microsoft", system("uname -r",
intern = TRUE), ignore.case = TRUE)) {
"uname -r" returns for example:
"5.4.72-microsoft-standard-WSL2"
So checking for "microsoft" or &q
That would work.
Sys.info()['release']
# release
# "5.4.72-microsoft-standard-WSL2"
Brenton
From: Martin Maechler
Sent: Wednesday, April 14, 2021 03:28
To: Brenton Wiernik
Cc: r-devel@r-project.org
Subject: Re: [Rd] Sys.timezone() fails on Linux
Is the pipe bind `=>` operator likely to be restored by default in time for the
4.1 release?
Brenton
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
> mtcars |> subset(cyl == 4) |> lm(formula = mpg ~ disp)
This isn’t really a reliable approach. It works for `lm()`, where `data` is the
second argument, but not for `glm()` unless the first _two_ arguments are named.
mtcars |> subset(cyl == 4) |> glm(formula = mpg ~ disp, family = "gaussian")