readr: Read Rectangular Text Data
Version 1.1.1

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.

Browse man pages Browse package API and functions Browse package files

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-05-16 19:03:57 UTC
MaintainerJim Hester <james.hester@rstudio.com>
LicenseGPL (>= 2) | file LICENSE
Version1.1.1
URL http://readr.tidyverse.org https://github.com/tidyverse/readr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("readr")

Man pages

callback: Callback classes
cols: Create column specification
col_skip: Skip a column
count_fields: Count the number of fields in each line of a file
datasource: Create a source object.
date_names: Create or retrieve date names
encoding: Guess encoding of file
format_delim: Convert a data frame to a delimited string
locale: Create locales
output_column: Preprocess column for output
parse_atomic: Parse logicals, integers, and reals
parse_datetime: Parse date/times
parse_factor: Parse factors
parse_guess: Parse using the "best" type
parse_number: Parse numbers, flexibly
parse_vector: Parse a character vector.
problems: Retrieve parsing problems
read_delim: Read a delimited file (including csv & tsv) into a tibble
read_delim_chunked: Read a delimited file by chunks
read_file: Read/write a complete file
read_fwf: Read a fixed width file into a tibble
read_lines: Read/write lines to/from a file
read_lines_chunked: Read lines from a file or string by chunk.
read_log: Read common/combined log file into a tibble
read_rds: Read/write RDS files.
readr_example: Get path to readr example
readr-package: readr: Read Rectangular Text Data
read_table: Read whitespace-separated columns into a tibble
spec: Examine the column specifications for a data frame
spec_delim: Generate a column specification
tokenize: Tokenize a file/string.
Tokenizers: Tokenizers.
type_convert: Re-convert character columns in existing data frame
write_delim: Write a data frame to a delimited file

Functions

ChunkCallback Man page
DataFrameCallback Man page
ListCallback Man page
POSIXct Source code
SideEffectChunkCallback Man page
Tokenizers Man page
as.col_spec Source code
as.col_spec.NULL Source code
as.col_spec.character Source code
as.col_spec.col_spec Source code
as.col_spec.default Source code
as.col_spec.list Source code
as_chunk_callback Source code
as_chunk_callback.ChunkCallback Source code
as_chunk_callback.R6ClassGenerator Source code
as_chunk_callback.function Source code
callback Man page
cat_wrap Source code
check_callback_fun Source code
check_encoding Source code
check_guess_max Source code
check_path Source code
check_tz Source code
col_character Man page Source code
col_concise Source code
col_date Man page Source code
col_datetime Man page Source code
col_double Man page Source code
col_factor Man page Source code
col_guess Man page Source code
col_integer Man page Source code
col_logical Man page Source code
col_number Man page Source code
col_skip Man page Source code
col_spec Source code
col_spec_standardise Source code
col_time Man page Source code
collector Source code
collectorGuess Source code
collector_find Source code
cols Man page Source code
cols_condense Man page Source code
cols_only Man page Source code
count_fields Man page Source code
count_fields_ Source code
datasource Man page Source code
datasource_connection Source code
datasource_file Source code
datasource_raw Source code
datasource_string Source code
date_names Man page Source code
date_names_lang Man page Source code
date_names_langs Man page Source code
default_locale Man page Source code
deparse2 Source code
dim_tokens_ Source code
empty_file Source code
format.col_spec Source code
format_csv Man page Source code
format_delim Man page Source code
format_tsv Man page Source code
fwf_col_names Source code
fwf_cols Man page Source code
fwf_empty Man page Source code
fwf_positions Man page Source code
fwf_widths Man page Source code
generate_chunked_fun Source code
generate_read_delimited_chunked Source code
generate_spec_fun Source code
guess_encoding Man page Source code
guess_header Source code
guess_header_ Source code
guess_parser Man page Source code
guess_types Source code
guess_types_ Source code
is.col_spec Source code
is.collector Source code
is.connection Source code
is.date_names Source code
is.locale Source code
isFALSE Source code
is_absolute_path Source code
is_integerish Source code
is_syntactic Source code
is_url Source code
locale Man page Source code
n_problems Source code
name_problems Source code
new_datasource Source code
onLoad Source code
output_column Man page Source code
output_column.POSIXt Source code
output_column.default Source code
output_column.double Source code
parse_character Man page Source code
parse_date Man page Source code
parse_datetime Man page Source code
parse_double Man page Source code
parse_factor Man page Source code
parse_guess Man page Source code
parse_integer Man page Source code
parse_logical Man page Source code
parse_number Man page Source code
parse_time Man page Source code
parse_vector Man page Source code
parse_vector_ Source code
print.col_spec Source code
print.collector Source code
print.date_names Source code
print.locale Source code
problem_rows Source code
problems Man page Source code
probs Source code
read_connection Source code
read_connection_ Source code
read_csv Man page Source code
read_csv2 Man page Source code
read_csv2_chunked Man page
read_csv_chunked Man page
read_delim Man page Source code
read_delim_chunked Man page
read_delimited Source code
read_file Man page Source code
read_file_ Source code
read_file_raw Man page Source code
read_file_raw_ Source code
read_fwf Man page Source code
read_lines Man page Source code
read_lines_ Source code
read_lines_chunked Man page Source code
read_lines_chunked_ Source code
read_lines_raw Man page Source code
read_lines_raw_ Source code
read_log Man page Source code
read_rds Man page Source code
read_table Man page Source code
read_table2 Man page Source code
read_tokens Source code
read_tokens_ Source code
read_tokens_chunked Source code
read_tokens_chunked_ Source code
read_tsv Man page Source code
read_tsv_chunked Man page
readr Man page
readr-package Man page
readr_example Man page Source code
release_questions Source code
show_cols_spec Source code
show_progress Source code
source_name Source code
spec Man page Source code
spec_csv Man page
spec_csv2 Man page
spec_delim Man page
spec_table Man page
spec_tsv Man page
standardise_path Source code
stop_for_problems Man page Source code
stream_delim Source code
stream_delim_ Source code
tokenize Man page Source code
tokenize_ Source code
tokenizer_csv Man page Source code
tokenizer_delim Man page Source code
tokenizer_fwf Man page Source code
tokenizer_line Man page Source code
tokenizer_log Man page Source code
tokenizer_tsv Man page Source code
tokenizer_ws Man page Source code
type_convert Man page Source code
type_convert_col Source code
utctime Source code
warn_problems Source code
whitespaceColumns Source code
write_csv Man page Source code
write_delim Man page Source code
write_excel_csv Man page Source code
write_file Man page Source code
write_file_ Source code
write_file_raw_ Source code
write_lines Man page Source code
write_lines_ Source code
write_lines_raw_ Source code
write_rds Man page Source code
write_tsv Man page Source code
zipfile Source code

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
readr documentation built on May 19, 2017, 10:02 p.m.