[ 
https://issues.apache.org/jira/browse/ARROW-14568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicola Crane updated ARROW-14568:
---------------------------------
    Description: 
Updating values via square brackets isn't currently implemented.  Is this 
actually possible?
{code:r}
library(arrow)
my_arr <- Array$create(1:5)
my_arr[1] <- 3
# Error in my_arr[1] <- 3 : object of type 'environment' is not subsettable

aq_table <- Table$create(airquality)
aq_table[[1]][1] <- 6
#  object of type 'environment' is not subsettable
{code}

  was:
Updating values via square brackets isn't currently implemented 
{code:r}
library(arrow)
my_arr <- Array$create(1:5)
my_arr[1] <- 3
# Error in my_arr[1] <- 3 : object of type 'environment' is not subsettable

aq_table <- Table$create(airquality)
aq_table[[1]][1] <- 6
#  object of type 'environment' is not subsettable
{code}


> [R] Implement updating values via square brackets not implemented
> -----------------------------------------------------------------
>
>                 Key: ARROW-14568
>                 URL: https://issues.apache.org/jira/browse/ARROW-14568
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Nicola Crane
>            Priority: Major
>
> Updating values via square brackets isn't currently implemented.  Is this 
> actually possible?
> {code:r}
> library(arrow)
> my_arr <- Array$create(1:5)
> my_arr[1] <- 3
> # Error in my_arr[1] <- 3 : object of type 'environment' is not subsettable
> aq_table <- Table$create(airquality)
> aq_table[[1]][1] <- 6
> #  object of type 'environment' is not subsettable
> {code}



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

Reply via email to