readr: Read Rectangular Text Data

The goal of 'readr' is to provide a fast and friendly way to read rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to flexibly parse many types of data found in the wild, while still cleanly failing when data unexpectedly changes.

Install the latest version of this package by entering the following in R:
install.packages("readr")
AuthorHadley Wickham [aut], Jim Hester [aut, cre], Romain Francois [aut], R Core Team [ctb] (Date time code adapted from R), RStudio [cph, fnd], Jukka Jylänki [ctb, cph] (grisu3 implementation), Mikkel Jørgensen [ctb, cph] (grisu3 implementation)
Date of publication2017-03-22 19:24:23 UTC
MaintainerJim Hester <james.hester@rstudio.com>
LicenseGPL (>= 2) | file LICENSE
Version1.1.0
http://readr.tidyverse.org
https://github.com/tidyverse/readr

View on CRAN

Functions

callback Man page
ChunkCallback Man page
col_character Man page
col_date Man page
col_datetime Man page
col_double Man page
col_factor Man page
col_guess Man page
col_integer Man page
col_logical Man page
col_number Man page
cols Man page
cols_condense Man page
col_skip Man page
cols_only Man page
col_time Man page
count_fields Man page
DataFrameCallback Man page
datasource Man page
date_names Man page
date_names_lang Man page
date_names_langs Man page
default_locale Man page
format_csv Man page
format_delim Man page
format_tsv Man page
fwf_cols Man page
fwf_empty Man page
fwf_positions Man page
fwf_widths Man page
guess_encoding Man page
guess_parser Man page
ListCallback Man page
locale Man page
output_column Man page
parse_character Man page
parse_date Man page
parse_datetime Man page
parse_double Man page
parse_factor Man page
parse_guess Man page
parse_integer Man page
parse_logical Man page
parse_number Man page
parse_time Man page
parse_vector Man page
problems Man page
read_csv Man page
read_csv2 Man page
read_csv2_chunked Man page
read_csv_chunked Man page
read_delim Man page
read_delim_chunked Man page
read_file Man page
read_file_raw Man page
read_fwf Man page
read_lines Man page
read_lines_chunked Man page
read_lines_raw Man page
read_log Man page
readr Man page
read_rds Man page
readr_example Man page
readr-package Man page
read_table Man page
read_table2 Man page
read_tsv Man page
read_tsv_chunked Man page
SideEffectChunkCallback Man page
spec Man page
spec_csv Man page
spec_csv2 Man page
spec_delim Man page
spec_table Man page
spec_tsv Man page
stop_for_problems Man page
tokenize Man page
tokenizer_csv Man page
tokenizer_delim Man page
tokenizer_fwf Man page
tokenizer_line Man page
tokenizer_log Man page
Tokenizers Man page
tokenizer_tsv Man page
tokenizer_ws Man page
type_convert Man page
write_csv Man page
write_delim Man page
write_excel_csv Man page
write_file Man page
write_lines Man page
write_rds Man page
write_tsv Man page

Files

inst
inst/extdata
inst/extdata/challenge.csv
inst/extdata/fwf-sample.txt
inst/extdata/mtcars.csv.bz2
inst/extdata/mtcars.csv
inst/extdata/mtcars.csv.zip
inst/extdata/massey-rating.txt
inst/extdata/example.log
inst/extdata/epa78.txt
inst/doc
inst/doc/readr.html
inst/doc/readr.Rmd
inst/doc/locales.html
inst/doc/readr.R
inst/doc/locales.Rmd
inst/doc/locales.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test-encoding.R
tests/testthat/eol-lf.csv
tests/testthat/test-parsing-datetime.R tests/testthat/test-parsing-count-fields.R tests/testthat/test-locale.R
tests/testthat/enc-iso-8859-1.txt
tests/testthat/test-parsing-time.R
tests/testthat/eol-cr.csv
tests/testthat/test-write-lines.R tests/testthat/test-parsing-logical.R
tests/testthat/null-file
tests/testthat/basic-df.csv
tests/testthat/sample_text.txt
tests/testthat/empty-file
tests/testthat/test-read-csv.R tests/testthat/test-read-file.R tests/testthat/test-write-delim.R tests/testthat/test-parsing-character.R
tests/testthat/eol-crlf.txt
tests/testthat/eol-crlf.csv
tests/testthat/test-read-fwf.R
tests/testthat/basic-df-singlequote.csv
tests/testthat/test-parsing-numeric.R
tests/testthat/fwf-trailing.txt
tests/testthat/eol-cr.txt.gz
tests/testthat/helper.R tests/testthat/test-read-table.R tests/testthat/test-col-spec.R
tests/testthat/eol-cr.txt.bz2
tests/testthat/test-read-chunked.R
tests/testthat/eol-cr.txt.xz
tests/testthat/test-read-lines.R tests/testthat/test-parsing-factors.R
tests/testthat/raw.csv
tests/testthat/eol-cr.txt
tests/testthat/test-tokenizer-delim.R tests/testthat/test-type-convert.R tests/testthat/test-collectors.R tests/testthat/test-eol.R
tests/testthat/eol-lf.txt
tests/testthat/test-parsing.R
tests/testthat/eol-cr.txt.zip
tests/testthat/test-problems.R
src
src/SourceFile.h
src/parse.cpp
src/read.cpp
src/TokenizerDelim.cpp
src/boost.h
src/type_convert.cpp
src/grisu3.c
src/tzfile.h
src/write.cpp
src/Source.cpp
src/Reader.h
src/Source.h
src/TokenizerWs.cpp
src/Collector.h
src/SourceRaw.h
src/TokenizerLine.h
src/localtime.h
src/LocaleInfo.h
src/Tokenizer.h
src/SourceString.h
src/Collector.cpp
src/TokenizerFwf.cpp
src/LocaleInfo.cpp
src/Progress.h
src/localtime.c
src/write_delim.cpp
src/Iconv.cpp
src/utils.h
src/Tokenizer.cpp
src/TokenizerFwf.h
src/connection.cpp
src/Iconv.h
src/Reader.cpp
src/grisu3.h
src/DateTimeParser.h
src/QiParsers.h
src/write_connection.h
src/write_connection.cpp
src/Token.h
src/TokenizerDelim.h
src/Warnings.h
src/DateTime.h
src/Makevars.win
src/init.c
src/datetime.cpp
src/RcppExports.cpp
src/CollectorGuess.cpp
src/TokenizerWs.h
src/TokenizerLog.h
NAMESPACE
NEWS.md
R
R/write.R R/locale.R R/count_fields.R R/utils.R R/date-symbols.R R/read_delim.R R/readr.R R/rds.R R/collectors.R R/example.R R/POSIXct.R R/read_lines_chunked.R R/read_table.R R/encoding.R
R/sysdata.rda
R/problems.R R/type_convert.R R/read_delim_chunked.R R/file.R R/RcppExports.R R/lines.R R/col_types.R R/read_fwf.R R/source.R R/callback.R R/read_log.R R/zzz.R R/tokenizer.R
vignettes
vignettes/readr.Rmd
vignettes/releases
vignettes/releases/readr-0.2.0.Rmd
vignettes/releases/readr-1.0.0.Rmd
vignettes/releases/readr-0.1.0.Rmd
vignettes/locales.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/problems.Rd man/locale.Rd man/parse_datetime.Rd man/read_lines.Rd man/format_delim.Rd man/spec.Rd man/spec_delim.Rd man/read_lines_chunked.Rd man/datasource.Rd man/parse_guess.Rd man/parse_factor.Rd man/Tokenizers.Rd man/read_delim.Rd man/cols.Rd man/read_log.Rd man/write_delim.Rd man/read_file.Rd man/encoding.Rd man/read_rds.Rd man/read_table.Rd man/col_skip.Rd man/output_column.Rd man/callback.Rd man/count_fields.Rd man/parse_atomic.Rd man/date_names.Rd man/parse_vector.Rd man/tokenize.Rd man/readr_example.Rd man/parse_number.Rd man/type_convert.Rd man/read_delim_chunked.Rd man/read_fwf.Rd man/readr-package.Rd
tools
tools/logo.png
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.