read_text: Data I/O convenience functions

Description Usage Arguments Value Examples

View source: R/io.R

Description

Data I/O convenience functions

Usage

1

Arguments

text

a character vector of length 1. Should resemble the contents of a CSV file.

...

additional arguments passed directly to read.csv

Value

a data.frame

Examples

1
2
3
4
5
6
t <- "id,x,y
      a,1,2
      b,3,4"
read_text(t, strip.white = TRUE)
t <- "id,x,y\na,1,2\nb,3,4"
read_text(t)

sboysel/boysel documentation built on May 29, 2019, 3:24 p.m.