[Rd] Error in svg() : cairo-based devices are not supported on this build
Simon Urbanek
simon.urbanek at r-project.org
Thu May 19 16:00:39 CEST 2011
On May 19, 2011, at 8:45 AM, Karl Forner wrote:
> Hello,
>
> Sorry if it is not the right place..
>
>
> I installed R-2.13.0 on a x86_64 linux server.
> All went fine, but the svg() function yells:
>> svg()
> Error in svg() : cairo-based devices are not supported on this build
>
> I have the Cairo, cairoDevice, RSvgDevice packages installed, and running.
>
Those are irrelevant for svg() which is provided by built-in cairo support in R, not the packages, so you want to check capabilities():
> capabilities("cairo")
cairo
TRUE
But if you have working Cairo package can simply use CairoSVG() instead of svg().
Cheers,
Simon
>> Cairo.capabilities()
> png jpeg tiff pdf svg ps x11 win
> TRUE TRUE TRUE TRUE TRUE TRUE TRUE FALSE
>
> I tried to google around unsuccessfully. The only thing I noticed in
> config.log is:
> r_cv_has_pangocairo=no
> r_cv_cairo_works=yes
> r_cv_has_cairo=yes
> #define HAVE_WORKING_CAIRO 1
> #define HAVE_CAIRO_PDF 1
> #define HAVE_CAIRO_PS 1
> #define HAVE_CAIRO_SVG 1
>
>
> So what can be wrong ??
>
> Thank you
>
> Karl
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
More information about the R-devel
mailing list