Austin Salonen
Austin Salonen

Reputation: 50235

Pipe CSV stdout into read.csv

As a follow-up to my previous question, say I have a console application that will write CSV data to standard out.

How can I use this with read.csv or some equivalent?

Upvotes: 1

Views: 793

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368439

Read the help(Connections) documentation and 'just do it' :)

read.csv() can consume a URL via url(), output from a pipe via pipe() and even work files old-fashioned files. There is an entire manual devoted to data input/output too.

Upvotes: 3

Related Questions