Open medined opened 10 years ago
Hi,
I am using R studio and simply used the plot object name to get it to display in the RStudio HTML viewer.
sankeyPlot <- rCharts$new()
#need to download this tarball from here and unzip
#https://github.com/timelyportfolio/rCharts_d3_sankey
#remember where you put it!
sankeyPlot$setLib('C:/Users/x/AppData/R/rcharts_d3_sankey-gh-pages')
sankeyPlot$set(
data=edgelist,
nodeWidth= 15,
nodePadding = 10,
layout = 32,
width=960,
height=500
)
sankeyPlot
I following the steps and everything is looking good until I try the print step and then I see only HTML instead of the plot. Can this technique be used inside RStudio?