reprex_addin: Render a reprex

Description Usage Arguments

View source: R/reprex-addin.R

Description

reprex_addin() opens an RStudio gadget and addin that allows you to say where the reprex source is (clipboard? current selection? active file? other file?) and to control a few other arguments. Appears as "Render reprex" in the RStudio Addins menu.

reprex_selection() is an addin that reprexes the current selection, optionally customised by options. Appears as "Reprex selection" in the RStudio Addins menu. Heavy users might want to create a keyboard shortcut.

Usage

1
2
3
reprex_addin()

reprex_selection(venue = getOption("reprex.venue", "gh"))

Arguments

venue

Character. Must be one of the following (case insensitive):


reprex documentation built on Sept. 21, 2018, 6:16 p.m.