Skip to content

datapasta

3.1.0Package record

R Tools for Data Copy-Pasta

0packages dependsuggested by 2
21.4Kdownloads / year
54.8%test coverage
13/13flavors OK

Overview

About

RStudio addins and R functions that make copy-pasting vectors and tables to text painless.

Changes in 3.1.0
  • Exported _format functions
  • Adds dt_paste function for pasting as data.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

CRAN checks
13OK
Slowest check: 1.2 min · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 3.1.0
READMEYes · 857 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 3.1.0Citation fileNo
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%

Downloads

21.4K
CRAN downloads in the past year
Rank #2,754 · ~59/day · ~1.8K/mo
Daily download trend is not available in this view yet.
1.7K30 days
5.3K90 days
21.4K1 year
Compare downloads with other packages →
Also on204 r2u13 autocran1.1K conda_forge

Repository

924Stars
63Forks
29Open issues
5Open PRs
5Releases
311Commits
12Commit identities
rcopypasteexceladdinclipboardtibble
311 commits · Last activity 2025-12-07 · 0% stars, 30d · Default branch at 3.2.2, ahead of CRAN 3.1.0 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-10-17 · 9002026-07-07 · 924
PracticesBeta

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.

Continuous integration (1)
Travis CI (config file)
Docs source (2)
pkgdown

GitHub Pages site last deployed 2025-12-07

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.3.0
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

People & History

People (7)
Author, Maintainer since 1.0.0 (2016)
Author · added in 3.1.0
Author · added in 1.1.0
Author · added in 3.1.0
Author · added in 3.1.0
Contributor · added in 3.1.0
Contributor · added in 3.0.0
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 3.1.0Latest
    record
    2020-01-17 · current release · diff ↗ ·
    removed 1 export
    df_construct
    added 6 exports
    df_format, dfdt_construct, dt_format, dt_paste, tribble_format, vector_format
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 3.0.0
    record
    2018-01-24 · diff ↗ ·
    added 2 exports
    zzz_rs_dfiddle, zzz_rs_toggle_quotes
  • R
    R 3.4.0 released · 2017-04-21
  • 2.0.0
    record
    2017-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
    record
    2017-01-09 · diff ↗ ·
    added 1 export
    df_paste
  • 1.0.0
    record
    2016-11-29
  • R
    R 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")
McBain, M., Aden-Buie, G., Carroll, J., Collier, A., Dulhunty, M., Gelfand, S., & Owlarn, S. (2020). datapasta: R Tools for Data Copy-Pasta (Version 3.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for datapasta version 3.1.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy