clipr (version 0.5.0)

read_clip: Read clipboard

Description

Read the contents of the system clipboard into a character vector.

Usage

read_clip()

Arguments

Value

A character vector with the contents of the clipboard. If the system clipboard is empty, returns NULL

Examples

Run this code
# NOT RUN {
clip_text <- read_clip()
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace