Rdocumentation
powered by
Learn R Programming
clipr (version 0.2.1)
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
clip_text <- read_clip()
Run the code above in your browser using
DataLab