Learn R Programming

clipr (version 0.3.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()
# ## End(Not run)

Run the code above in your browser using DataLab