5.1 animate configure
20220810
The animate package is R based but requires the Rust language package manager cargo to install gifski (Ooms 2022), a gif encoder written in Rust for excellent animations. On a Ubuntu system the cargo package needs to be installed, which configure will attempt if not already installed. This requires system administrator access. If the user running the configure has permissions then configure will work. Otherwise a system administrator will need to install it with:
Once cargo is installed the remainder of the R packages will be installed for the local user.
Output will be something like the following, with variations depending on what packages are already installed on the system.
*** The following required system packages are already installed:
cargo
*** The following R packages are already at their latest versions:
progress png tweenr gganimate
*** Installing the latest version of the R package 'tidyverse'
from CRAN into '/home/kayon/.mlhub/animate/R' ...
*** Installing the latest version of the R package 'RColorBrewer'
from CRAN into '/home/kayon/.mlhub/animate/R' ...
*** Installing the latest version of the R package 'gifski'
from CRAN into '/home/kayon/.mlhub/animate/R' ...
Using /usr/bin/cargo
cargo 1.59.0
gcc -I"/usr/share/R/include" -DNDEBUG -pthread -fvisibility=hidden ...
PATH="..." cargo build --release --manifest-path=myrustlib/Cargo.toml
*** Installing the latest version of the R package 'farver'
from CRAN into '/home/kayon/.mlhub/animate/R' ...
g++ -std=gnu++11 -I"/usr/share/R/include" ... -o ColorSpace.o
g++ -std=gnu++11 -I"/usr/share/R/include" ... -o Comparison.o
[...]
*** Downloading required files ...
To view the model's README:
ml readme animate
R code and support files are downloaded from GitHub as specified in the MLHUB.yaml file.
References
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0