title: Problems while reproducing Sankey chart example with d3_sankey
body: <p>I am trying to reproduce simple example with <code>rCharts</code> library to plot <code>sankey</code> chart. I found <a href="http://timelyportfolio.github.io/rCharts_d3_sankey/example_build_network_sankey.html" rel="noreferrer">this example from scratch</a> and tried to reproduce it, however, I came up with some problems. </p>
  
  <p>Firstly I have tried running this code without nothing. Then I found out and realized, that I need d3_sankey in my computer. So, I have downloaded it from <a href="https://github.com/timelyportfolio/rCharts_d3_sankey/tree/gh-pages/libraries/widgets/d3_sankey" rel="noreferrer">here</a> and copied to <code>C:\Users\adomas\Documents\R\win-library\3.0\rCharts\libraries\widgets\d3_sankey</code>. </p>
  
  <p>Then I've tried that unchanged code once more and still got the following error:</p>
  
  <p><code>Error in file(con, "r") : cannot open the connection
  In addition: Warning message:
  In file(con, "r") :
    cannot open file '/config.yml': No such file or directory</code></p>
  
  <p>Since that didn't help too, I have tried changing paths from: 
  <code>sankeyPlot$setLib('libraries/widgets/d3_sankey')
  sankeyPlot$setTemplate(script = "libraries/widgets/d3_sankey/layouts/chart.html")</code></p>
  
  <p>to</p>
  
  <p><code>sankeyPlot$setLib('C:/Users/adomas/Documents/R/win-library/3.0/rCharts/libraries/widgets/d3_sankey')
  sankeyPlot$setTemplate(script = "C:/Users/adomas/Documents/R/win-library/3.0/rCharts/libraries/widgets/d3_sankey/layouts/chart.html")</code></p>
  
  <p>However, this time, the blank screen in Viewer appeared but no actual Sankey graph and I got the following in console:
  <code>Warning message:
  In readLines(file, warn = warn, ...) :
    invalid input found on input connection 'C:/Users/adomas/Documents/R/win-library/3.0/rCharts/libraries/widgets/d3_sankey/layouts/chart.html</code></p>
  
  <p>I have tried changing paths and etc, but still something is wrong. And I am not sure if I need to use <code>sankeyPlot$setTemplate</code> at all. 
  I want to use Sankey chart in my shiny application, but firstly I want to reproduce simply in R. Suggestions would help a lot!</p>
  
  <p>Versions of libraries: 
  <code>rCharts_0.4.2</code>
  <code>igraph_0.7.0</code>
  R version: <code>3.0.2</code></p>
  
  <p><strong>EDITED:</strong>
  I have tried this code on different system. And everything works there. Versions of libraries and R are the same and I've copied same documents and just specified full path. I have tried that again on my own computer, but still got the same error yet.</p>