dvictori commented on issue #37758:
URL: https://github.com/apache/arrow/issues/37758#issuecomment-1728063212

   > Just commenting a few observations, and thanks for your help 🙏
   > 
   >     1. Per the dplyr documentation: Scoped verbs (_if, _at, _all) have 
been superseded by the use of 
[pick()](https://dplyr.tidyverse.org/reference/pick.html) or 
[across()](https://dplyr.tidyverse.org/reference/across.html) in an existing 
verb. See 
[vignette("colwise")](https://dplyr.tidyverse.org/articles/colwise.html) for 
details.
   > 
   >     2. Since the introduction of R's native pipe (R 4.1.0), the new 
anonymous function syntax is `\(x) x` in comparison to the lambda-stye `~.x` 
syntax in the above examples.
   > 
   >     3. I've noticed that the application of the new anonymous function in 
Arrow + dplyr pipelines fails
   > 
   
   Thanks!
   
   Came here because I was trying to use `mutate_at` with `\(x) x` with no 
luck.  
   Switching to `mutate(across(colums_to_mutate, ~.x))` worked.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to