4

I would like to be able to use a screen capture tool and copy the image directly in a markdown report using rstudio.

One possible sequence of actions would be :

  • use my windows snipping tool, or run a capture utility from R
  • capture whatever needs to be captured
  • save it in the working folder, or better in a folder set by options
  • insert the ![](image.png) code in the markdown

How can I do this or something similar ?

moodymudskipper
  • 46,417
  • 11
  • 121
  • 167

1 Answers1

4

This self-answer using imageclipr may do the trick.

Jonathan Carroll
  • 3,897
  • 14
  • 34