[ 
https://issues.apache.org/jira/browse/ARROW-17461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582009#comment-17582009
 ] 

Dewey Dunnington commented on ARROW-17461:
------------------------------------------

I'll look into this again because it may have changed...the last time I browsed 
the RStudio source for this I remember seeing a lot of hardcoded stuff. I was 
looking before because I wanted to customize how some geometry types were 
rendered and I remember concluding that {{as.character()}} was my only option.

If you had a shell around an Arrow Array that was a vctrs implementation (I do 
something like this in geoarrow but using C Data interface arrays), you can 
stuff them into a data.frame losslessly with zero copy (but the RMarkdown 
viewer throws errors for this, too, because it tries to serialize the external 
pointer and gets back a NULL).

> [R] Table viewer for knitr/notebooks
> ------------------------------------
>
>                 Key: ARROW-17461
>                 URL: https://issues.apache.org/jira/browse/ARROW-17461
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Neal Richardson
>            Priority: Major
>
> In RStudio's R Markdown notebook mode, R data.frames get rendered with an 
> interactive table browser where you can paginate through it. I haven't looked 
> into how this works, but it would be nice if we could do something similar 
> with an Arrow Table



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to