R Tools for Data Copy-Pasta
Overview
RStudio addins and R functions that make copy-pasting vectors and tables to text painless.
- Exported
_formatfunctions - Adds
dt_pastefunction for pasting asdata.table(Thanks @jonocarroll, #72, closes #70) - Row names are kept in data.frames and data.tables (Thanks @sowla)
- Column names that are invalid are now handled with backticks (Thanks @sharlagelfand)
- Fixes issue with commas inside character vectors getting wrapped on
- data.frame (and data.table) print is much prettier and robust with all args and cols aligned on '='
- zero row tibbles are supported with a fall-back to a tibble::tibble() call
- all _construct functions now return input visibly
- Fallback behaviour added to allow usage with remote R sessions like RStudio Server/Cloud, or ssh command line. See 'datapasta in the cloud' vignette. (Thanks @gadenbuie, @jonthegeek)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 31
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 100%
- Return-value docs
- 95%
- Help pages citing references
- 0%
- Datapasta in the cloud HTML
- How to Datapasta HTML
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 53
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/milesmcbain/datapasta on 2026-10-11.
Show all practicesHide 1 practice
Dependencies
Installing datapasta adds 25 packages (13 with compiled code, 6.8 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 3.1.0Latest2020-01-17 · current release · diff ↗ ·
removed 1 export
df_constructadded 6 exports
df_format, dfdt_construct, dt_format, dt_paste, tribble_format, vector_format - RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 3.0.0
- RR 3.4.0 released · 2017-04-21
- 2.0.02017-03-26 · diff ↗ ·
added 13 exports
clipboard_context, console_context, custom_context, df_construct, dmdclip, dp_set_decimal_mark, dp_set_max_rows, dpasta, markdown_context, rstudio_context, tribble_construct, vector_construct, vector_construct_vertical - 1.1.0
- 1.0.02016-11-29
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-11-29
- Total releases
- 5 / 10 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 612 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("datapasta")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-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.