Tmonster commented on issue #36907:
URL: https://github.com/apache/arrow/issues/36907#issuecomment-1655317055

   Hi thisisnic, 
   
   I've been able to reproduce this error on my Mac M1 running MacOS Monterrey 
12.4. Tried using the `reprex()` package, but that produced a segfault, so just 
copying and pasting my CLI.
   
   I believe it's an arrow issue because if I don't run the command 
`requireNamespace("arrow")`, the message `Error in .Internal(quit(save, status, 
runLast)) : bad value` doesn't appear when I run `quit()`.
   
   ```
   ➜  ~ R
   
   R version 4.3.0 (2023-04-21) -- "Already Tomorrow"
   Copyright (C) 2023 The R Foundation for Statistical Computing
   Platform: aarch64-apple-darwin20 (64-bit)
   
   R is free software and comes with ABSOLUTELY NO WARRANTY.
   You are welcome to redistribute it under certain conditions.
   Type 'license()' or 'licence()' for distribution details.
   
     Natural language support but running in an English locale
   
   R is a collaborative project with many contributors.
   Type 'contributors()' for more information and
   'citation()' on how to cite R or R packages in publications.
   
   Type 'demo()' for some demos, 'help()' for on-line help, or
   'help.start()' for an HTML browser interface to help.
   Type 'q()' to quit R.
   
   > library(pak)
   > pak::pkg_install("duckdb")
   ✔ Loading metadata database ... done
   
   ℹ No downloads are needed
   ✔ 1 pkg + 1 dep: kept 2 [3.2s]
   > library(duckdb)
   Loading required package: DBI
   > drv <- duckdb::duckdb()
   > con <- DBI::dbConnect(drv)
   > requireNamespace("arrow")
   Loading required namespace: arrow
   > quit()
   Save workspace image? [y/n/c]: n
   Warning messages:
   1: Connection is garbage-collected, use dbDisconnect() to avoid this.
   2: Database is garbage-collected, use dbDisconnect(con, shutdown=TRUE) or 
duckdb::duckdb_shutdown(drv) to avoid this.
   Error in .Internal(quit(save, status, runLast)) : bad value
   > sessionInfo()
   R version 4.3.0 (2023-04-21)
   Platform: aarch64-apple-darwin20 (64-bit)
   Running under: macOS Monterey 12.4
   
   Matrix products: default
   BLAS:   
/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib
   LAPACK: 
/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;
  LAPACK version 3.11.0
   
   locale:
   [1] C/UTF-8/C/C/C/C
   
   time zone: Europe/Amsterdam
   tzcode source: internal
   
   attached base packages:
   [1] stats     graphics  grDevices utils     datasets  methods   base
   
   other attached packages:
   [1] duckdb_0.8.1-1 DBI_1.1.3      pak_0.5.1
   
   loaded via a namespace (and not attached):
    [1] assertthat_0.2.1 R6_2.5.1         tidyselect_1.2.0 bit_4.0.5
    [5] magrittr_2.0.3   glue_1.6.2       bit64_4.0.5      lifecycle_1.0.3
    [9] ps_1.7.5         cli_3.6.1        processx_3.8.2   arrow_12.0.1.1
   [13] callr_3.7.3      vctrs_0.6.3      compiler_4.3.0   purrr_1.0.1
   [17] tools_4.3.0      rlang_1.1.1
   >
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to