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

Neal Richardson commented on ARROW-7789:
----------------------------------------

Thanks for the tip, [~karldw]. The problem seems to be that arrow objects share 
a base class name ("Object") that gets special methods defined in {{R.oo}} 
(https://github.com/HenrikBengtsson/R.oo/blob/develop/NAMESPACE#L171). Since 
R.oo Objects don't have the same properties as arrow Objects, calling R.oo's 
{{$<-}} method on an arrow Object does bad things. 

There are a few ways to fix this, will discuss on the PR I'm about to put up.

> [R] Unknown error when using arrow::write_feather()  in R 3.5.3
> ---------------------------------------------------------------
>
>                 Key: ARROW-7789
>                 URL: https://issues.apache.org/jira/browse/ARROW-7789
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Martin
>            Priority: Minor
>
> Unknown error when using arrow::write_feather()  in R 3.5.3
> pb = as.data.frame(seq(1:100))
> pbFilename <- file.path(getwd(), "reproduceBug.feather")
>  arrow::write_feather(x = pb, sink = pbFilename)
> >Error in exists(name, envir = envir, inherits = FALSE) : 
>  > use of NULL environment is defunct
>  
> packageVersion('arrow')
> [1] ‘0.15.1.1’



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to