animation の変更点 - アールメカブ

アールメカブ


animation の変更点


[[Rの備忘録]]

サーバーに debianパッケージ化されたRを入れているんだが

 apt-get install r-cran-animation

は無かったので,開発者の [[yihuiのgithub:https://github.com/yihui/animation]] からソースを落としてインストールした.手順は以下にあるとおりで,若干面倒だが,とりあえず,これで鯖版 RStudio からanimationパッケージの,シミュレーションデモが利用できるようになった.


 ###################INSTALLATION#########################
 The repository on GitHub is not a complete R package 
 -- it has no'man' directory. To install this 'package' here, 
 it is recommended that
 you install R2roxygen first; then run rab() on this source package.
 
 install.packages(c('Rd2roxygen', 'formatR'))
 library(Rd2roxygen)
 ## make sure getwd() is right above the animation directory
 ## e.g. the package is here: D:/pkg/animation, then you need to
 ## setwd('D:/pkg') first
 rab('animation', install=TRUE)
 ########################################################