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 05 Oct. 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

cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
Download / Learn more Package Citations See dependency  
correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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