2

私は初めて gganimate を使用しており、github からサンプル コードを実行しようとしています。これは次のとおりです。

library(ggplot2)
library(gganimate)
ggplot(mtcars, aes(factor(cyl), mpg)) + 
geom_boxplot() + 
# Here comes the gganimate code
transition_states(
gear,
transition_length = 2,
state_length = 1
) +
enter_fade() + 
exit_shrink() +
ease_aes('sine-in-out')

しかし、実行しようとするとエラーが発生します。(gganimate で何をしようとしても同じエラーです。) これは次のとおりです。

Error in gifski_first_error <<- FALSE : 
cannot change value of locked binding for 
'gifski_first_error'

ありがとう!

4

1 に答える 1