save_clipboard_image: Saves an image from the clipboard to a file

View source: R/clipboard.R

save_clipboard_imageR Documentation

Saves an image from the clipboard to a file

Description

This function works only on windows.

Usage

save_clipboard_image(path = "")

Arguments

path

Optional path to save the image to. If not specified, a temporary file will be created.

Value

The path to the saved image file.

Examples

## Not run: 
# Save the image from the clipboard to a file
save_clipboard_image("clipboard_image.png")

## End(Not run)


screenshot documentation built on June 22, 2024, 10:30 a.m.