[
https://issues.apache.org/jira/browse/ARROW-16239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Will Jones reassigned ARROW-16239:
----------------------------------
Assignee: Will Jones
> [R] $columns on Table and RB should be named
> --------------------------------------------
>
> Key: ARROW-16239
> URL: https://issues.apache.org/jira/browse/ARROW-16239
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Affects Versions: 7.0.0
> Reporter: Will Jones
> Assignee: Will Jones
> Priority: Minor
> Labels: good-first-issue
> Fix For: 9.0.0
>
>
> Currently, {{$columns}} method returns columns as a list without names. It
> would be nice if they were named instead, similar to {{as.list}} on a
> {{data.frame}}.
> {code:R}
> > library(arrow)
> > names(record_batch(x = 1, y = 'a')$columns)
> NULL
> > names(arrow_table(x = 1, y = 'a')$columns)
> NULL
> > as.list(data.frame(x = 1, y = 'a'))
> $x
> [1] 1
> $y
> [1] "a"
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)