Code Monkey home page Code Monkey logo

Comments (2)

Toniiiio avatar Toniiiio commented on June 22, 2024 1

HI @ajabadi ,
thanks for your feedback.

My understanding was that you don't need to save the image but can only have it in the clipboard but I get the following error:

Rmarkdown requires a saved image. Even if you have it in clipboard and clipboard changes it would be lost in rmarkdown as well i guess.

I get the following error: "Please save the file before pasting an image."

That means the package requires you to save the rmarkdown file, so that the package can read the meta data of the file and know where to paste the image.

I think two things could be done:

  • First improve the error message.

imageclipr requires you to save the rmarkdown file, so that the package can read the meta data of this rmarkdown file and know where to paste the image. Please save the file first, before proceeding and pasting an image.

  • Second, one could automatically save the file via rstudioapi. I am not sure this is always wanted by the user if he/she has some non-persistant changes in the file.

What would be your thoughts on this?

Best,
Tonio

P.S
I just drove on vacation so i cant garantuee i will have internet+R+hardly any chance to work on mac. Hopefully, the issue will be solved with this comment anyway!

from imageclipr.

Toniiiio avatar Toniiiio commented on June 22, 2024

I guess it should be working now! Feel free to reopen the issue, if not.

from imageclipr.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.