I currently have an R code that works very well and i want to use rpy2 package to use this code in python.
The code show a Sunburst in R:
library(sunburstR)
sequences <- read.csv(system.file("examples/visitsequences.csv",package="sunburstR"),header=F,stringsAsFactors = FALSE)
sunburst(sequences)
But in Python, when i use rpy2 i have this :
sequences = r('read.csv(system.file("examples/visit-sequences.csv",package="sunburstR"),header=F,stringsAsFactors = FALSE)')
r('sunburst(sequences)')
In fact, it works but it doesnt show the chart ...
Can you help me please ?