Interface to 'TensorFlow' Datasets
Overview
Interface to 'TensorFlow' Datasets, a high-level library for building complex input pipelines from simple, re-usable pieces. See https://www.tensorflow.org/guide for additional details.
- New
dataset_rebatch(). dataset_batch()gains argsnum_parallel_calls,name.dataset_interleave()gains argsdeterministic,num_parallel_calls,name.text_line_dataset()gains argsnum_parallel_calls,buffer_size,name.- Updated documentation to fix cross links (#96).
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: tfdatasets/tests/testthat/test-dataset-methods.R (.Dim: 11) '.Dim' should be changed to 'dim'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 89 (3 internal)
- Examples that run
- 0%30 never run
- Exported functions with examples
- 34%
- Documented parameters
- 98%
- Return-value docs
- 69%
- Help pages citing references
- 1%
Downloads
Repository
- PRs merged (all time)
- 93%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rstudio/tfdatasets on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2018-01-09
Dependencies
Installing tfdatasets adds 29 packages (17 with compiled code, 11 MB of source tarballs). Heaviest: tfruns 1.9 MB, Rcpp 1.8 MB, reticulate 1.6 MB.
Code & Tests
Datasets
People & History
Previously maintained by Daniel Falbel (1.13.1 to 2.4.0) and JJ Allaire (1.5 to 1.9).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.18.0Latest2025-08-20 · current release · diff ↗ ·
removed 1 export
input_fn.tf_datasetadded 1 export
dataset_rebatch - RR 4.5.0 released · 2025-04-11
- 2.17.0
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.9.02022-06-29 · diff ↗ ·
added 4 exports
as_tensor, dataset_group_by_window, dataset_take_while, dataset_unbatch - RR 4.2.0 released · 2022-04-22
- 2.7.02021-11-09 · diff ↗ ·
added 8 exports
as_array_iterator, as_iterator, choose_from_datasets, dataset_bucket_by_sequence_length, dataset_rejection_resample, dataset_unique, iter_next, iterate - 2.6.02021-09-07 · diff ↗ ·
added 5 exports
dataset_enumerate, dataset_options, dataset_scan, dataset_snapshot, random_integer_dataset - RR 4.1.0 released · 2021-05-18
- 2.4.0
- 2.2.0
- RR 4.0.0 released · 2020-04-24
- 2.0.02019-12-13 · diff ↗ ·
removed 1 export
input_fn.tf_datasetadded 30 exports
all_nominal, all_numeric, contains, dataset_collect, dataset_use_spec, dataset_window, dense_features, ends_with, everything, feature_spec, fit, has_type, layer_input_from_dataset, matches, num_range, one_of, scaler_min_max, scaler_standard, starts_with, step_bucketized_column, step_categorical_column_with_hash_bucket, step_categorical_column_with_identity, step_categorical_column_with_vocabulary_file, step_categorical_column_with_vocabulary_list, step_crossed_column, step_embedding_column, step_indicator_column, step_numeric_column, step_remove_column, step_shared_embeddings_column - RR 3.6.0 released · 2019-04-26
Show 5 earlier eventsHide 5 earlier events
- 1.13.12019-04-09 · diff ↗
- 1.92018-08-25 · diff ↗ ·
added 10 exports
dataset_map_and_batch, dataset_prefetch_to_device, dataset_shuffle_and_repeat, make_csv_dataset, out_of_range_handler, sample_from_datasets, sql_dataset, sql_record_spec, sqlite_dataset, until_out_of_range - RR 3.5.0 released · 2018-04-23
- 1.52018-01-15
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-01-15
- Total releases
- 11 / 8 yrs
- License
- Apache License 2.0 OSI
- Minimum R
- ≥ 3.1
- Bundled data
- 3.0 KB / 1 file
- Download size
- 792 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tfdatasets")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.