Looking for some help identifying why this code would not render the Sankey in RStudio viewer or otherwise. I think it could be a problem with my R version (3.3.1)...the packages I'm using were built under 3.3.1. Unfortunately my organization takes awhile to update the 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