| Issue 31: | GoogleVis in R: Motion chart not loading in the browser. Getting blank browser. | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Used built-in R dataset 'ChickWeight' 2. Installed RJSONIO and googleVis packages. 3. ChickWeight1<-ChickWeight[1:24,] //reduced the number of rows 4. visualization1<-gvisMotionChart(ChickWeight1,idvar='weight',timevar='Time') 5. Got a Warning Message. Not sure if warning message is related. Warning message: In if (class(x[[.x]]) == "Date") as.character(x[[.x]]) else x[[.x]] : the condition has length > 1 and only the first element will be used 6. plot(visualization1) I expected a motion chart, but I just got a blank browser. I also tried converting the 'Time' column from a numeric to date class, but no luck. What version of the product are you using? On what operating system? 3.0.2, Mac OS X version 10.6.8. I also ran the the same code on my work Windows laptop, but no luck. Please provide any additional information below.
Feb 18, 2014
Project Member
#1
markus.g...@googlemail.com
Feb 18, 2014
Try instead: plot(gvisMotionChart(ChickWeight,idvar='Chick',timevar='Time')) |