0

I have a graph that I can create with this ggplot2 code:

ggplot(total.new, aes(x=day, y=new.total)) + geom_line() + 
      facet_wrap("practice", scales="free_y", ncol=2)

Now I wanted to try out rCharts, so I tried the following:

rPlot(new.total ~ day | practice, data=total.new, type='line')

and all I get is a blank screen in the viewer with no errors of any kind. Any ideas what might be wrong?

Dave Kincaid
  • 3,970
  • 3
  • 24
  • 32
  • It would help if you provided a `dput(total.new)` so folks cld reproduce your example. – hrbrmstr Mar 31 '14 at 23:13
  • 1
    My gut instinct says it is because of the variable `new.total` which has periods in the name. Javascript interprets periods differently, so just try changing `new.total` to `new_total`. – Ramnath Apr 01 '14 at 04:57
  • No, the dot isn't it. I'm having the same problem with rMaps and the crosslet() function. – Dave Kincaid Apr 04 '14 at 15:51
  • See if you can open in the browser outside of the viewer and then look in the console for any errors that you might be able to provide us for additional clues. – timelyportfolio Apr 08 '14 at 20:33

0 Answers0