eitsupi commented on issue #18487:
URL: https://github.com/apache/arrow/issues/18487#issuecomment-1397083374

   Note that this has not worked since `readr` 2.0.0.
   
   ``` r
   readr::read_csv(c("a,b", "1,2", "3,4"))
   #> Error: 'a,b' does not exist in current working directory 
('/tmp/Rtmp5bv5aV/reprex-4864c762e4-bared-pika').
   ```
   
   <sup>Created on 2023-01-19 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>
   
   AsIs `I()` must be used.
   
   ``` r
   readr::read_csv(I(c("a,b", "1,2", "3,4")))
   #> Rows: 2 Columns: 2
   #> ── Column specification 
────────────────────────────────────────────────────────
   #> Delimiter: ","
   #> dbl (2): a, b
   #>
   #> ℹ Use `spec()` to retrieve the full column specification for this data.
   #> ℹ Specify the column types or set `show_col_types = FALSE` to quiet this 
message.
   #> # A tibble: 2 × 2
   #>       a     b
   #>   <dbl> <dbl>
   #> 1     1     2
   #> 2     3     4
   ```
   
   <sup>Created on 2023-01-19 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>
   
   Perhaps `I()` could be used here as well to make it do the same?


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to