mardi 20 décembre 2016

Why can't export a sunburst plot as web page in R?

I'm a new learner with R. I want to export a sunburst plot as web page in R, but the web opened always show as follow. Why? How do I modify?

enter image description here enter image description here

These are codes:

setwd('E:/R/SUNSV/data/')
d = read.table("20161218.csv", header=TRUE, sep=",", strip.white=TRUE)
d$dis = substr(d$address,1,3)
d$dd = paste(d$dis,d$type,d$name,d$fname,sep = "-")
library(dplyr)
w1 = group_by(d, dd)
w2 = summarise(w1, ff = n())
library(sunburstR)
sunburst(w2,count = TRUE)

Thanks!




Aucun commentaire:

Enregistrer un commentaire