I am trying the code on the instruction page for animation view, however it give me this error: Error in function_list[i] :
could not find function “animation_opts”
Does anyone know how to access function? is there any other package i should download?
Thanks! i tried! it works now!.. and i forget to upddate my R too (Now it is 3.3.2)… but i still have problem running the instruction code in the guid book:
It is " animation_button(x = 1, xanchor = “right”, y = 0, yanchor = “bottom”) %>%" cause the problem:
Error in p$x$layout$updatemenus[[which(isAniButton)]] :
attempt to select less than one element in get1index
I resolved by first, you have to connect with the host:
First, run this code:
Sys.setenv(“plotly_username”=“YOUR USER NAME”) ## modife your user name to your username
Sys.setenv(“plotly_api_key”=“YOUR API KEY”) ## find your api key in your profile
Second, run the development version code:
devtools::install_github(“ropensci/plotly”)
Make sure your R is updated and also your Rstudio is updated. Plotly has some issues in R 3.2.x