Joel Schwartz

Results 10 comments of Joel Schwartz

I was able to install `data.table` with OpenMP support using the [instructions here](https://github.com/Rdatatable/data.table/issues/2409#issuecomment-336811279) (but I changed the gcc version from 7 to 11). I installed `fst` from source using the...

Thanks @dipterix. My clang is v13 from Homebrew and my system is `x86_64-apple-darwin19.6.0`: `clang --version` > Homebrew clang version 13.0.1 > Target: x86_64-apple-darwin19.6.0 > Thread model: posix > InstalledDir: /usr/local/opt/llvm/bin...

@dipterix instructions worked for me on MacOS 10.15.7. I used `[openmp-12.0.1-darwin20-Release.tar.gz](https://mac.r-project.org/openmp/openmp-12.0.1-darwin20-Release.tar.gz)` even though my system is darwin19, because my clang version is 13.0.1. Thanks!

Thanks Noah. I'd actually missed the `subset` argument when I was playing around with this. Good to know about that.

Actually, that already works (assuming I'm understanding what you and @lionel- had in mind): ``` r library(tidyverse) fn % group_by(across({{groups}})) %>% summarise(across(.cols = {{cols}}, .fns = {{fns}})) } d =...

Oh, but it doesn't work if you pass a separate object as the `fns` argument: ``` r library(tidyverse) fn % group_by(across({{groups}})) %>% summarise(across(.cols = {{cols}}, .fns = {{fns}})) } fn(mtcars,...

As a result of my incomplete understanding of how NSE might interact with different ways of passing arguments, I failed to include a separate `FUNS` object as an example in...

@lionel- the code below fails in `dplyr 1.1.1` even though it uses embracing operator, so I think I'm not understanding your previous comment. Is there a different pattern I should...

Just checking back here to see if there is now (or will eventually be) a better way to pass function arguments within `across`. By "better," I mean better than having...