thisisnic opened a new issue, #39273:
URL: https://github.com/apache/arrow/issues/39273

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ``` r
   library(arrow)
   #> 
   #> Attaching package: 'arrow'
   #> The following object is masked from 'package:utils':
   #> 
   #>     timestamp
   df <- tibble::tibble(x = c("hi", "I'm", "a", "string"))
   arrow_table(df)
   #> Table
   #> 4 rows x 1 columns
   #> $x <string>
   arrow_table(df, schema = schema(x = dictionary()))
   #> Error: Invalid: invalid R type to convert to dictionary
   ```
   
   It works if I call `as.factor` on the character column when it's being 
created; perhaps we can just pop an `as.factor()` in if the input type is a 
character rather than a factor?
   
   
   ### Component(s)
   
   R


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

Reply via email to