[ 
https://issues.apache.org/jira/browse/ARROW-11854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17294830#comment-17294830
 ] 

Sam Albers commented on ARROW-11854:
------------------------------------

Shoot. This can be closed I think. Apologies for the bother. This was not on my 
local machine but rather a remote Windows virtual desktop infrastructure. Arrow 
was updated to 3.0.0 by the system admin while I was still logged into a 
machine. Your comment was a good prod. A logout/login on the same virtual 
machine fixed the problem. So no most everything is _not_ broken.

> 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)

Reply via email to