Hi @bkaniskan,
First off, I'm gonna go ahead and move this out of RStudio IDE and into General, since it's not related to the IDE itself.
The best way to get effective help here is by turning your code into a reprex (short for minimal reproducible example)? That way, we can see what is and is not happening when you run the code you've put above. Even if nothing is happening at all, people need the data (presumably Fruits
in order to try and reproduce what's going on for you with gvisMotionChart.
It will help us help you if we can be sure we're all working with/looking at the same stuff.
If you've never heard of a reprex before, you might want to start by reading the tidyverse.org help page. The reprex dos and don'ts are also useful.
For pointers specific to the community site, check out the reprex FAQ, linked to below.