Coder Social home page Coder Social logo

Comments (12)

ashishdamania avatar ashishdamania commented on August 23, 2024 1

Not sure if this will work for you.

  1. Install ggplot from devtools
    devtools::install_github("tidyverse/ggplot2")

  2. "Reinstall" ggplot extensions

install.packages("ggrepel")
devtools::install_github('davidgohel/ggiraph')

from ggiraph.

davidgohel avatar davidgohel commented on August 23, 2024 1

Thanks @deepthoughts.This should be automatically fixed when a new version will be on CRAN (it will use the correct ggplot2 version)

from ggiraph.

davidgohel avatar davidgohel commented on August 23, 2024 1

@abiyug Hadley made a communication about ggplot2 extensions, they need to be rebuild with the latest version of ggplot2.

  1. Get the latest version of ggplot2
  2. build ggiraph from source

That should work.

David

from ggiraph.

abiyug avatar abiyug commented on August 23, 2024

@davidgohel I am not exactly sure what you mean here. So, if I have ggplot2 ver. 2.2.0 installed already, and am installing ggiraph from CRAN, it will automatically load ggplot2 ver 2.1.0?

Or, are we saying ggiraph works currently ONLY if we install ggplot2 from devtools?

from ggiraph.

abiyug avatar abiyug commented on August 23, 2024

Well ggplto2 ver 2.2.0 (latest and on CRAN) isn't working well with ggiraph_0.3.2. Unless I am missing something. With so many extension, I wish there was an official version comparability matrix.

from ggiraph.

davidgohel avatar davidgohel commented on August 23, 2024

you did install ggiraph from source, right?

from ggiraph.

davidgohel avatar davidgohel commented on August 23, 2024

and official (cran) version is 2.2.1, not 2.2.0

from ggiraph.

abiyug avatar abiyug commented on August 23, 2024

the version I had was ggplot2_2.2.0, I had to go back to ggplot2_2.1.0, but I see 2.2.1 is published on 2016-12-30. I will test that and revert.

from ggiraph.

davidgohel avatar davidgohel commented on August 23, 2024

OK, when testing, do not forget to install ggiraph from source (I will send an update to CRAN but not before 2/3 days).

David

from ggiraph.

abiyug avatar abiyug commented on August 23, 2024

Ok.

from ggiraph.

abiyug avatar abiyug commented on August 23, 2024

Upgrade to ggplot2_2.2.1 and issue is resolved.

from ggiraph.

davidgohel avatar davidgohel commented on August 23, 2024

I will submit to cran soon, when package will be build on CRAN, this issue should not happen anymore.

David

from ggiraph.

Related Issues (20)

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.