Learn R Programming

tidydatatutor (version 0.1.0)

go_paste: Send Code Copied to the Clipboard to Tidy Data Tutor

Description

Send Code Copied to the Clipboard to Tidy Data Tutor

Usage

go_paste()

Arguments

Value

A string with an appropriately formatted URL to Tidy Data Tutor (invisibly).

Examples

Run this code
# NOT RUN {
# Copy the following code into the clipboard:

library(dplyr)
library(palmerpenguins)

penguins %>%
  select(species, bill_length_mm) %>%
  group_by(species) %>%
  arrange(desc(bill_length_mm), .by_group = TRUE) %>%
  slice(1)

# Then run this in the console:

tidydatatutor::go_paste()
# }

Run the code above in your browser using DataLab