Skip to content

RStudio Addin: Copy Image from Clipboard into RMarkdown .Rmd file

Notifications You must be signed in to change notification settings

khanmurad/imageclipr

 
 

Repository files navigation

imageclipr

CRAN version

RStudio Addin: Copy images from clipboard into RMarkdown .Rmd files.

Usage of imageclipr

Installation

devtools::install_github('Timag/imageclipr')

Dependencies

Windows and MacOS only - no Linux supported so far.

R Pakete library(rstudioapi), library(reticulate) (library(rmarkdown) for markdown files)

Python (incl. PIL library)

Open issues

  • remove python dependency
  • can not:

-- copy and paste image and text together

-- copy and paste an image by copying the file in the explorer

Technical walkthrough

(highlevel): https://stackoverflow.com/questions/55541345/copy-and-paste-an-image-from-clipboard-to-rmarkdown-rmd-code

Usage

Select the addin

Addin selection

Adding a keyboard shortcut (Recommended)

In RStudio go to Tools - Modify Keyboard Shortcuts...

Find Shortcuts

Modify Shortcuts

(This project is part of my life long application to RStudio :))

About

RStudio Addin: Copy Image from Clipboard into RMarkdown .Rmd file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.4%
  • R 0.6%