- visit for intructions for other OS: https://www.imagemagick.org/script/download.php
- download:
ImageMagick-x86_64-apple-darwin16.4.0.tar.gz
from download button - create (or choose) a directory to install the package into and change to that directory:
cd Desktop/R-directory
mkdir ImageMagick
cd ImageMagick/
- extract the contents of the package:
tar xvzf ImageMagick-x86_64-apple-darwin16.4.0.tar.gz
- export things:
export MAGICK_HOME="$HOME/Desktop/R-directory/ImageMagick/ImageMagick-7.0.5"
export PATH="$MAGICK_HOME/bin:$PATH"
export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"
- visit: https://www.xquartz.org/index.html and download latest version
- use installer as noramlly by double clicking on icon
- log out and log back in of current session to make the X11 the deafult
export DISPLAY=:0