Learn R Programming

tfse (version 0.5.0)

pbcopy: pbcopy

Description

Adds input to clipboard for pasting

Usage

pbcopy(x)

Arguments

x

Input passed to cat function.

Value

Prints x to clipboard.

Examples

Run this code
# NOT RUN {
## alphabet as string
pbcopy(paste(letters, collapse = ""))
## paste e.g., C-v
# }

Run the code above in your browser using DataLab