arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neal Richardson <neal.p.richard...@gmail.com>
Subject Re: [R] make_readable_file export?
Date Tue, 17 Nov 2020 17:52:00 GMT
Could you please open a Jira issue at
https://issues.apache.org/jira/browse/ARROW?

Thanks,
Neal

On Tue, Nov 17, 2020 at 9:20 AM Ben Zipperer <benzipperer@gmail.com> wrote:

> We want to interact with Feather files in our R package and are using
> arrow::FeatherReader$create(), which requires as input an Arrow file
> connection object. We thought we would follow the lead in read_feather()
> and use make_readable_file() like
>
> f <- function(file) {
>   file <- make_readable_file(file)
>   on.exit(file$close())
>   reader <- FeatherReader$create(file)
>   # do stuff ...
> }
>
> but make_readable_file is not exported by arrow, so I'm not sure this
> approach will satisfy CRAN requirements.
>
> Can you export make_readable_file? Or is there some other recommended way
> to go from a .feather file to the required inputstream for
> FeatherReader$create?
>
> Thank you for the excellent package,
> Ben
>

Mime
View raw message