[
https://issues.apache.org/jira/browse/ARROW-17312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17575795#comment-17575795
]
Neal Richardson edited comment on ARROW-17312 at 8/5/22 11:47 AM:
------------------------------------------------------------------
Hard to say without more details, but you mentioned you're on the M1, so make
sure you're running the native version of R and arrow and not under Intel
emulation (Rosetta). In the past there were illegal opcode issues with running
on Rosetta.
For what it's worth, I'm running on an M1 myself and your example (without
pacman) doesn't error for me.
was (Author: npr):
Hard to say without more details, but you mentioned you're on the M1, so make
sure you're running the native version of R and arrow and not under Intel
emulation (Rosetta). In the past there were illegal opcode issues with running
on Rosetta.
> [R] R session aborts when using dplyr::filter after setting as_data_frame =
> FALSE in arrow::read_csv_arrow
> ----------------------------------------------------------------------------------------------------------
>
> Key: ARROW-17312
> URL: https://issues.apache.org/jira/browse/ARROW-17312
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Affects Versions: 8.0.0
> Reporter: Neil Currie
> Priority: Major
>
> R session aborts / encounters fatal error when using dplyr::filter after
> setting as_data_frame = FALSE in arrow::read_csv_arrow.
>
> Version info:
> platform [1] "x86_64-apple-darwin17.0"
> R version 4.2.0 (2022-04-22)
> Running on MacBook Air, macOS Monterey v12.4, Apple M1 chip
>
> Reproducible example:
>
> {{if (!require(pacman)) install.packages("pacman")}}
> {{library(pacman)}}
> {{p_load(arrow, dplyr, readr)}}
>
> {{write_csv(starwars, "starwars.csv")}}
>
> {{read_csv_arrow("starwars.csv", as_data_frame = FALSE) |> }}{{filter(height
> >= 150)}}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)