get_clipboard_image | R Documentation |
This function works only on windows.
get_clipboard_image()
A raw vector containing the image data.
## Not run:
get_clipboard_image()
## End(Not run)
data(clipboard_sample)
head(clipboard_sample, 100)
header <- create_header(clipboard_sample)
image_data <- c(header, clipboard_sample)
path <- fs::path_temp(ext = "bmp")
save_bmp(image_data, path)
# shell.exec(path)
fs::file_delete(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.