Displaying 3 results from an estimated 3 matches for "have_working_cairo".
2011 May 19
2
Error in svg() : cairo-based devices are not supported on this build
...talled, and running.
> 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]]
2013 May 09
0
cairo is not the default when available
...nd
if (.Platform$OS.type != "windows" && !.Call(C_cairoProps, 2L))
X11.options(type = "Xlib")
cairoProps is in src/library/grDevices/src/init.c:
static SEXP cairoProps(SEXP in)
{
int which = asInteger(in);
if(which == 1)
return ScalarLogical(
#ifdef HAVE_WORKING_CAIRO
1
#else
0
#endif
);
else if(which == 2)
return ScalarLogical(
#ifdef HAVE_PANGOCAIRO
1
#else
0
#endif
);
return R_NilValue;
}
I believe this is where the problem comes in. I don't have pangocairo
and cairoProps is being called with 2L...
2011 Apr 18
4
How to get R to compile with PNG support
Dear R devel list,
Good morning; I'm with the Sage (http://www.sagemath.org) project.
(Some of you might have seen my talk on this at last summer's useR
conference).
We have some rudimentary support for using R graphics in various
cases, which has proved useful to many of our users who want to go
back and forth between R and other capabilities within Sage.
Unfortunately, the way we