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

[R] R crashing with Apple M1 chip

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • R
    • None
    • MacBook Pro 13-inch, M1, 2020
      R version 4.1.1 (2021-08-10)
      Platform: x86_64-apple-darwin17.0 (64-bit)
      Running under: macOS Monterey 12.1

    Description

      When using the {arrow} package, R crashes as soon as a dplyr verb is used on a parquet object. This does not happen on Windows computers, but I have reproduced it using two separate MacBook Pros with an Apple M1 chip. Crash happens both with RStudio and running R in the command line.

      The reprex below is based on the vignette for {arrow}, available at https://arrow.apache.org/docs/r/:

       

      library(arrow)

      library(dplyr)

      write_parquet(starwars, sink = 'sw_parquet')

      sw <- read_parquet(file = 'sw_parquet', as_data_frame = FALSE)

      result <- sw %>%
        filter(homeworld == "Tatooine")

      Attachments

        Activity

          People

            Unassigned Unassigned
            gil_henriques Gil Henriques
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: