https://github.com/Toniiiio/imageclipr
RStudio Addin: Copy Image from Clipboard into RMarkdown .Rmd file
https://github.com/Toniiiio/imageclipr
clipboard image markdown rmarkdown rstudio rstudio-addin
Last synced: about 2 months ago
JSON representation
RStudio Addin: Copy Image from Clipboard into RMarkdown .Rmd file
- Host: GitHub
- URL: https://github.com/Toniiiio/imageclipr
- Owner: Toniiiio
- License: other
- Created: 2019-04-05T15:27:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-30T13:52:37.000Z (over 3 years ago)
- Last Synced: 2024-11-13T16:42:50.493Z (7 months ago)
- Topics: clipboard, image, markdown, rmarkdown, rstudio, rstudio-addin
- Language: HTML
- Size: 1.33 MB
- Stars: 57
- Watchers: 1
- Forks: 17
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - Toniiiio/imageclipr - RStudio Addin: Copy Image from Clipboard into RMarkdown .Rmd file (HTML)
README
## imageclipr
[](https://cran.r-project.org/package=imageclipr)RStudio Addin: Copy images from clipboard into RMarkdown .Rmd files.

## Installation
`devtools::install_github('Timag/imageclipr')`## Dependencies
R packages `library(rstudioapi)`, (`library(rmarkdown)` for markdown files)For linux [xclip](https://github.com/astrand/xclip) is required.
For debian, ubuntu,... install it with:
```
sudo apt-get install xclip
```## Open issues
- 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
Note: You will see "Paste Img to Rmd file" instead of "Insert Image".

### Adding a keyboard shortcut (Recommended)
In RStudio go to Tools - Modify Keyboard Shortcuts...Note: You will see "Paste Img to Rmd file" instead of "Insert Image".


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