Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10632

[R] export make_readable_file

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: R
    • Labels:
      None

      Description

      In the R package will you please export make_readable_file() ? 

      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 this approach might not satisfy CRAN requirements.

      Can you export make_readable_file? Or is there some other preferred way to go from a .feather file to the required inputstream for FeatherReader$create?

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              benzipperer Ben Zipperer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: