clipr (version 0.3.3)

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