Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need Gadfly-based plots #1

Closed
cecileane opened this issue Mar 30, 2018 · 2 comments
Closed

need Gadfly-based plots #1

cecileane opened this issue Mar 30, 2018 · 2 comments

Comments

@cecileane
Copy link
Member

For now, Gadfly-based functions have been commented out. Using both Gadfly and RCall causes compilation errors. Things run & test fine if using Gadfly only, or using RCall only (current choice). Using both works if we don't use PhyloNetworks also... These issues were with using:

- Gadfly                        0.6.5+ commit c778af59f9, tagged v0.7.0
- RCall                         0.10.3
- PhyloNetworks                 0.6.0+ commit 88b8ac5107

warning messages when using RCall (with or without Gadfly): many messages this one, with "R_NaString" replaced by various things from RCall

WARNING: eval from module Const to PhyloPlots:    
Expr(:block, Expr(:line, 73, Symbol("/Users/ane/.julia/v0.6/RCall/src/Const.jl"))::Any, Expr(:., :NaString, Expr(:quote, :p)::Any)::Any = Expr(:call, :unsafe_load, Expr(:call, :cglobal, "R_NaString", Expr(:call, :typeof, Expr(:., :NaString, Expr(:quote, :p)::Any)::Any)::Any)::Any)::Any)::Any
  ** incremental compilation may be broken for this module **

error messages when using all 3 packages, RCall, Gadfly, PhyloNetworks (the stacktrace looks useless):

ERROR: LoadError: MethodError: no method matching convert(::Type{AssertionError}, ::String)
Closest candidates are:
  convert(::Type{Any}, ::ANY) at essentials.jl:28
  convert(::Type{T}, ::T) where T at essentials.jl:29

and final error:

MethodError(Core.Inference.convert, (AssertionError, "invalid age range update"), 0x0000000000000ac6)
@nalimilan
Copy link

Looks like JuliaLang/julia#23200?

@cecileane
Copy link
Member Author

or more like JuliaLang/julia#21653 . The error (and stacktrace) is really similar to what @mauro3 showed, and it has to do with using multiple packages within the same module (RCall, Gadfly, PhyloNetworks in my case), like others have mentioned. I got the error above with julia v0.6.2, and don't get it with julia v0.6.1 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants