Other packages > Find by keyword >

reprex  

Prepare Reproducible Example Code via the Clipboard
View on CRAN: Click here


Download and install reprex package within the R console
Install from CRAN:
install.packages("reprex")

Install from Github:
library("remotes")
install_github("cran/reprex")

Install by package version:
library("remotes")
install_version("reprex", "2.1.1")



Attach the package and use:
library("reprex")
Maintained by
Jennifer Bryan
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-01-10
Latest Update: 2024-07-06
Description:
Convenience wrapper that uses the 'rmarkdown' package to render small snippets of code to target formats that include both code and output. The goal is to encourage the sharing of small, reproducible, and runnable examples on code-oriented websites, such as and , or in email. The user's clipboard is the default source of input code and the default target for rendered output. 'reprex' also extracts clean, runnable R code from various common formats, such as copy/paste from an R session.
How to cite:
Jennifer Bryan (2017). reprex: Prepare Reproducible Example Code via the Clipboard. R package version 2.1.1, https://cran.r-project.org/web/packages/reprex. Accessed 25 Aug. 2026.
Previous versions and publish date:
(2026-07-09 06:50), 0.1.0 (2017-01-10 18:51), 0.1.1 (2017-01-13 00:27), 0.1.2 (2018-01-26 09:23), 0.2.0 (2018-06-23 01:40), 0.2.1 (2018-09-16 06:30), 0.3.0 (2019-05-16 18:20), 1.0.0 (2021-01-27 07:30), 2.0.0 (2021-04-02 20:20), 2.0.1 (2021-08-05 06:20), 2.0.2 (2022-08-17 09:40), 2.1.0 (2024-01-11 09:30)
Other packages that cited reprex R package
View reprex citation profile
Other R packages that reprex depends, imports, suggests or enhances
Complete documentation for reprex
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

commonsMath  
JAR Files of the Apache Commons Mathematics Library
'Java' JAR files for the Apache Commons Mathematics Library for use by users and other packages. ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
hwep  
Hardy-Weinberg Equilibrium in Polyploids
Inference concerning equilibrium and random mating in autopolyploids. Methods are available to test ...
Download / Learn more Package Citations See dependency  
missDiag  
Comparing Observed and Imputed Values under MAR and MCAR
Implements the computation of discrepancy statistics summarizing differences between the density of ...
Download / Learn more Package Citations See dependency  
connectwidgets  
Organize and Curate Your Content Within 'Posit Connect'
A collection of helper functions and 'htmlwidgets' to help publishers curate content collections on ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA