paleolimbot commented on issue #40627:
URL: https://github.com/apache/arrow/issues/40627#issuecomment-2022647060
With Arrow 15.0.1 on MacOS I get:
``` r
if(fs::file_exists("/tmp/test")) fs::dir_delete("/tmp/test")
data <- tibble::tibble(
x = 1:10,
g = floor(0:9/5))
arrow::write_parquet(data, "/tmp/test/part-0.parquet") # crashes R
#> Error: IOError: Failed to open local file '/tmp/test/part-0.parquet'.
Detail: [errno 2] No such file or directory
fs::dir_create("/tmp/test")
arrow::write_parquet(data, "/tmp/test/part-0.parquet") # if path exists,
everything is ok
#> Error in parquet___WriterProperties___Builder__create(): Cannot call
parquet___WriterProperties___Builder__create(). See
https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow
C++ libraries.
```
<sup>Created on 2024-03-27 with [reprex
v2.1.0](https://reprex.tidyverse.org)</sup>
(However, I'm running a slightly older version of R AND it sounds like you
may have installed from either R Universe or built from source since you seem
to have Parquet enabled).
--
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]