Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Installation

Source:vignettes/a00_installation.Rmd
a00_installation.Rmd

You can install the development version ofunigd fromGitHub with:

# install.packages("remotes")remotes::install_github("nx10/unigd")

Seesystem requirements fortroubleshooting.

System requirements

libpng and X11 arerequired on unixlike systems (e.g. Linux, macOS).Cairo is optional on unixlike systems to enable PNG, PDF, EPS and PS renderers.libtiff is required on unix like systems to enable TIFFrenderers.

macOS

Iflibpng is missing install it via:

brew install libpng

IfCairo is missing install it via:

brew install cairo

Iflibtiff is missing install it via:

brew install libtiff

IfX11 is missing the error message will include thetext:

unable to load shared object[...] systemfonts/libs/systemfonts.so[...]

InstallXQuartz.(see:https://github.com/r-lib/systemfonts/issues/17)

Linux

For source installation on Linux, the fontconfig freetype2 library isrequired to install thesystemfonts package, which is adependency ofunigd.

Debian, Ubuntu, etc.

apt install libfontconfig1-dev

Fedora, CentOS, RHEL, etc.

dnf install fontconfig-devel

To support additional plot file formats (PDF, EPS, PS) optionally,theCairo library is required.

Debian, Ubuntu, etc.

apt install libcairo2-dev

Fedora, CentOS, RHEL, etc.

dnf install cairo-devel

To support additional TIFF formats optionally, thelibtiff library is required.

Debian, Ubuntu, etc.

apt install libtiff-dev

Fedora, EPEL, etc.

dnf install libtiff-devel

[8]ページ先頭

©2009-2025 Movatter.jp