You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/01/30 22:25:00 UTC

[jira] [Created] (ARROW-11441) [R] Read CSV from character vector

Neal Richardson created ARROW-11441:
---------------------------------------

             Summary: [R] Read CSV from character vector
                 Key: ARROW-11441
                 URL: https://issues.apache.org/jira/browse/ARROW-11441
             Project: Apache Arrow
          Issue Type: New Feature
          Components: R
            Reporter: Neal Richardson
             Fix For: 4.0.0


`readr::read_csv()` lets you read in data from a character vector, useful for (e.g.) taking the results of a system call and reading it in as a data.frame. 

{code}
> readr::read_csv(c("a,b", "1,2", "3,4"))
# A tibble: 2 x 2
      a     b
  <dbl> <dbl>
1     1     2
2     3     4
{code}

One solution would be similar to ARROW-9235, perhaps, treating it as a textConnection. 



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