Code Monkey home page Code Monkey logo

Comments (2)

Toniiiio avatar Toniiiio commented on July 21, 2024

Hi Maxime,

thanks for your comment.
The error occurs here:

stop("Clipboard data is not an image.")

so it seems no picture was created on disk.

Sys.info()[1] should yield "Linux" for you. So the error should occur after

# Validate xclip is installed and get targets from clipboard
.
Your xclip installation should have been succesful. Otherwise it should throw an earlier error.

So the error has to be in

if (any(grepl(".*png$", targets))) {
.

I am not the contributor of the linux code part. But i remember having the discussion of whether only png pictures are taken care of.

Could you re-test with a png picture and tell me if that works?

from imageclipr.

drevanzyl avatar drevanzyl commented on July 21, 2024

Hi @Toniiiio , I have the same issue on Ubuntu 22.04. I tried using a png file, but it did not work either. I'm rather sure I've used this package on previous versions of R/Rstudio and Ubuntu without issues.

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.