[ https://issues.apache.org/jira/browse/ARROW-11854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson updated ARROW-11854: ------------------------------------ Component/s: (was: C++) > arrow:::io___FileOutputStream__Open returning a pointer on Windows 10 R 3.6.3 > ----------------------------------------------------------------------------- > > Key: ARROW-11854 > URL: https://issues.apache.org/jira/browse/ARROW-11854 > Project: Apache Arrow > Issue Type: Bug > Components: R > Affects Versions: 3.0.0 > Reporter: Sam Albers > Priority: Major > > I am have Windows 10 R 3.6.1 specific problem that I wanted to mention. > Running: > {code:java} > > arrow::packageVersion("arrow") > [1] '3.0.0' > > arrow::write_parquet(iris, "iris.parquet") > Error: sink must be a "OutputStream" > Error in sink$close : object of type 'externalptr' is not subsettable{code} > I've tracked this as far as > {code:java} > arrow:::io___FileOutputStream__Open(arrow:::clean_path_abs('iris.parquet')) > [1]<pointer: 0X000000001510e210>{code} > If I try this on another Windows 10 machine with R 4.0.3 I get: > arrow:::io___FileOutputStream__Open(arrow:::clean_path_abs("iris.parquet")) > FileOutputStream > If I try R 3.6.3 on Ubuntu (via RStudio cloud): > {code:java} > arrow:::io___FileOutputStream__Open(arrow:::clean_path_abs("iris.parquet")) > FileOutputStream {code} > This definitely feels like an OS specific issue as io___FileOutputSteam__Open > hasn't changed recently: > [https://github.com/apache/arrow/blame/7184c3f46981dd52c3c521b2676796e82f17da77/r/src/arrowExports.cpp#L2161-L2165] > -- This message was sent by Atlassian Jira (v8.3.4#803005)