readr2.1.5 package

Read Rectangular Text Data

as.col_spec

Generate a column specification

callback

Callback classes

clipboard

Returns values from the clipboard

col_skip

Skip a column

cols

Create column specification

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

edition_get

Retrieve the currently active edition

encoding

Guess encoding of file

format_delim

Convert a data frame to a delimited string

locale

Create locales

melt_delim

Return melted data for each token in a delimited file (including csv &...

melt_delim_chunked

Melt a delimited file by chunks

melt_fwf

Return melted data for each token in a fixed width file

melt_table

Return melted data for each token in a whitespace-separated file

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_builtin

Read built-in object from package

read_delim

Read a delimited file (including CSV and 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.

read_table

Read whitespace-separated columns into a tibble

read_table2

Read whitespace-separated columns into a tibble

readr-package

readr: Read Rectangular Text Data

readr_example

Get path to readr example

readr_threads

Determine how many threads readr should use when processing

should_read_lazy

Determine whether to read a file lazily

should_show_types

Determine whether column types should be shown

show_progress

Determine whether progress bars should be shown

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

with_edition

Temporarily change the active readr edition

write_delim

Write a data frame to a delimited file

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.

  • Maintainer: Jennifer Bryan
  • License: MIT + file LICENSE
  • Last published: 2024-01-10