[
https://issues.apache.org/jira/browse/ARROW-17779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625326#comment-17625326
]
Nicola Crane commented on ARROW-17779:
--------------------------------------
Unfortunately, this (using head() or tail() inside a summarise function) cannot
be done until ARROW-13926 is supported. That said, there's also no need as far
as I can see, given you'd get the same result just calling {{head()}} outside
of {{summarise()}} in a simple use case like the one in the reprex.
As we have head() and tail() supported, I can't see the need to also implement
first() and last() as they achieve the same things. If there are more details
to this use case though that show otherwise, feel free to open a new ticket
with those details.
> [R] Add "first" and "last" functions from xts library
> -----------------------------------------------------
>
> Key: ARROW-17779
> URL: https://issues.apache.org/jira/browse/ARROW-17779
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: N Gautam Animesh
> Priority: Major
> Attachments: image.png
>
>
> Functions like "first" and "last" from the XTS library aren't yet implemented
> in arrow. Please look into this and do the needful.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)