RGL package for R compile error

我的梦境 提交于 2019-12-06 05:07:45

The issue is with freetype2 2.6. Downgrading to freetype2 2.5 allows rgl to compile properly.

For archlinux you can just run pacman -U /var/cache/pacman/pkg/freetype2-2.5.5-1-x86_64.pkg.tar.xz to downgrade to the older package.

Freetype is optional. Disabling it is the least hassles solution.

install.packages("rgl", repo="http://cran.r-project.org", configure.args="--disable-ftgl")

For others who come looking I solved this on ubuntu by installing libfreetype6-dev

  1. Get the binary from the repos:

    sudo apt-get build-dep r-cran-rgl

or

  1. Install OpenGL before building rgl from source.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!