imageclipr
imageclipr copied to clipboard
Error in (function () : Please save the file before pasting an image.
Hey, I used to have no issues with imageclipr but I switched to a macbook with an m2 chip. Now when I try to paste an image, I get this error.
Any help would be appreciated since I really like using this addin!
Hi @IsmetOzzer, could you check whether a file is produced/saved in the working directory (getwd())
Hey, it does not save the image in the working directory
Hi @IsmetOzzer, ok could you try to run this part manually: https://github.com/Toniiiio/imageclipr/blob/4b49aef08aa50b2a9c14eaff9298cfa10bbd6f5c/R/insertImageCode.R#L22. (after copy a picture to the clipboard)
Unfortunately i didnt write the MacOS part myself, maybe the author @xiaoa6435 could assist as well.