Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

R believes that X11 isn't install, even when it is? #149

Description

@ctross

Thanks for making your code for imager free for us all to use.

I am using the imager package specifically for the grabPoint() function in my own package.

Everything works fine when I run the package on a windows machine. But, on Mac, the function fails, with a message that X11 needs to be installed: "Error in select(im) : Please install X11 library to use this function."

This is where it gets weird. If we run, capabilities(), X11=TRUE. Similarly, we can run data.entry() which pulls up a working GUI in R. So, X11 is working fine, but imager, or really, just select() from cimg, doesn't believe X11 is there.

I was able to try on a second Mac, with an older imager version, and it worked.

This lead me to think that maybe, in your last commit, some code was introduced that makes R believe that X11 isn't install, even when it is?

Any idea if this is right? Or how to figure out where?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions