r - RStudio Not Rendering Sankey -


looking identifying why code not render sankey in rstudio viewer or otherwise. think problem r version (3.3.1)...the packages i'm using built under 3.3.1. unfortunately organization takes awhile update enterpirse...

library(devtools) library(rjson) library(igraph) library(rcharts)  x = read.csv('./r/dataforr.csv', header=true)  colnames(x) <- c("uid","from", "to", "avg.hours")  sankeyplot <- rcharts$new()  sankeyplot$set( data = x, nodewidth = 115, nodepadding = 110, layout = 132, width = 1500, height = 1300, units = "hrs", title = "new sankey" ) sankeyplot$setlib('http://timelyportfolio.github.io/rcharts_d3_sankey')  sankeyplot 

the address in sankeyplot$setlib('http://timelyportfolio.github.io/rcharts_d3_sankey') incorrect.

as per this question, should be:

sankeyplot$setlib('http://timelyportfolio.github.io/rcharts_d3_sankey/libraries/widgets/d3_sankey')


Comments

Popular posts from this blog

javascript - React Maximum Callstack when adding component -

javascript - Uncaught FirebaseError: Messaging: This method is available in a Window context -

correlation - Autocorrelation in Matlab WITHOUT xcorr -