Apologies if I'm making a very naive mistake!
I've been trying to start a long-planned push to begin migrating from R to Julia. One of the things that has kept me from trying earlier is the strength of ggplot2. When I saw that RCall might let me keep using ggplot2 for a while as I ease into Julia, it seemed perfect.
Running Julia version 1.12.4+0.x64.linux.gnu, installed via juliaup under Arch Linux, I ran into an immediate error with the basic examples I found online:
using RCall
@rlibrary ggplot2
... immediately produces:
ERROR: Normalized names are no longer unique: is_facet, is_ggplot, is_ggproto and is_theme
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:44
[2] rimport(pkg::String, s::Symbol; normalizenames::Bool, normalization::Vector{Pair{Char, Char}})
@ RCall ~/.julia/packages/RCall/JIY9I/src/namespaces.jl:38
[3] rimport (repeats 2 times)
@ ~/.julia/packages/RCall/JIY9I/src/namespaces.jl:23 [inlined]
[4] rimport(::Symbol; kwargs::@Kwargs{})
@ RCall ~/.julia/packages/RCall/JIY9I/src/namespaces.jl:55
[5] top-level scope
@ REPL[7]:1
[6] top-level scope
@ REPL[7]:1
I haven't seen this problem mentioned elsewhere with respect to ggplot2, except maybe some issues around automatic conversion of dots in function names to underscores from 2018: #234.
I assume I must be doing something wrong, but this is a completely fresh install of Julia where I've added only the RCall package.
I've not run into a problem with any other libraries I've tried: @rlibrary tidyverse doesn't seem to have any problems, for example.
Any help appreciated.
Apologies if I'm making a very naive mistake!
I've been trying to start a long-planned push to begin migrating from R to Julia. One of the things that has kept me from trying earlier is the strength of
ggplot2. When I saw thatRCallmight let me keep usingggplot2for a while as I ease into Julia, it seemed perfect.Running Julia version
1.12.4+0.x64.linux.gnu, installed viajuliaupunder Arch Linux, I ran into an immediate error with the basic examples I found online:... immediately produces:
I haven't seen this problem mentioned elsewhere with respect to
ggplot2, except maybe some issues around automatic conversion of dots in function names to underscores from 2018: #234.I assume I must be doing something wrong, but this is a completely fresh install of Julia where I've added only the
RCallpackage.I've not run into a problem with any other libraries I've tried:
@rlibrary tidyversedoesn't seem to have any problems, for example.Any help appreciated.