search for: rcairo_setup_font

Displaying 1 result from an estimated 1 matches for "rcairo_setup_font".

Did you mean: rcairo_set_font
2008 Apr 08
1
Legend on plots when using Cairo
...quot;test.png") > plot(1:100) > dev.off() null device 1 This works fine. But: > CairoPNG(file="test.png") > plot(1:100) > legend(50,50,"test") Error in strwidth(legend, units = "user", cex = cex) : font 2147483647 not recognized in Rcairo_setup_font > dev.off() null device 1 Does anyone know how to obtain a plot with legend using Cairo? I have tried it on two different environments, so here are the two sessionInfo(): > sessionInfo() R version 2.8.0 Under development (unstable) (2008-04-07 r45137) i686-pc-linux-gnu locale...