【发布时间】:2012-12-01 03:07:22
【问题描述】:
我正在研究 R,我需要安装 Cairo 包。
install.packages("Cairo")
规格 R 版本 2.15.0 (2012-03-30) 操作系统:Red Hat Enterprise Linux Server 6.1 版(圣地亚哥)
我收到以下错误消息:
xlib-backend.c:34:74: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
make: *** [xlib-backend.o] Error 1
ERROR: compilation failed for package ‘Cairo’
* removing ‘/usr/local/lib64/R/library/Cairo’
The downloaded source packages are in
‘/tmp/RtmpqtvjPA/downloaded_packages’
Updating HTML index of packages in '.Library'
Making packages.html ... done
Warning message:
In install.packages("Cairo") :
installation of package ‘Cairo’ had non-zero exit status
【问题讨论】: