You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is the problem I run into when I try to install gganimate. Based on some searches, I tried a reinstall of the Cairo library via Homebrew, but that didn't help either. Any thoughts on what I may be doing wrong? Thanks!
> devtools::install_github('thomasp85/gganimate')
Downloading GitHub repo thomasp85/gganimate@master
from URL https://api.github.com/repos/thomasp85/gganimate/zipball/master
Installing gganimate
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD \
INSTALL \
'/private/var/folders/v3/8qnv_799481162wwbnj62fq00000gn/T/RtmpcuWCo6/devtools39ac6b9c4d0b/thomasp85-gganimate-13a9a29' \
--library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' --install-tests
* installing *source* package ‘gganimate’ ...
** R
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so, 6): Library not loaded: /opt/X11/lib/libcairo.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so
Reason: image not found
ERROR: lazy loading failed for package ‘gganimate’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gganimate’
Installation failed: Command failed (1)
The text was updated successfully, but these errors were encountered:
Ok, here's what solved the problem above for me. Although I had XQuartz already installed, I downloaded XQuartz once again, reinstalled it, rebooted the computer, and re-ran the install. It went through this time without problems.
Hi!
Below is the problem I run into when I try to install gganimate. Based on some searches, I tried a reinstall of the Cairo library via Homebrew, but that didn't help either. Any thoughts on what I may be doing wrong? Thanks!
The text was updated successfully, but these errors were encountered: