I am trying to use nPlot because I wanted to add some controls to the plot. I am just copying a basic example from here http://ramnathv.github.io/posts/rcharts-nvd3/index.html and it doesn't show any plot when I run it. I use hPlot and it shows up fine. Do I need to install anything else? Here is the two basic examples. hPlot is working, nPlot shows no chart.
library(rCharts)
h1 <- hPlot(x="wt",y="mpg",group="cyl",data=mtcars,type="scatter")
h1
library(rCharts)
p1 <- nPlot(mpg ~ wt, group = 'cyl', data = mtcars, type = 'scatterChart')
p1$xAxis(axisLabel = 'Weight (in lb)')
p1
Also I originally tried to use nPlot with the actual data I want to plot and added a control. The control shows up fine but no plot. Tried with the basic example and still no plot. Thanks.