11010tianyi / latticist

Automatically exported from code.google.com/p/latticist
0 stars 2 forks source link

latticist fails to start with "Error in asCairoDevice(myDA, pointsize = pointsize) : Graphics API version mismatch" #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installed latticist and playwith via the usual package installing tools of R
2. library(latticist)
3.latticist(some.data)

What is the expected output? What do you see instead?
latticist/playwith window should appear, showing some plots. Instead, the 
window appears empty with only the playwith tools visible (buttons on the 
left). No plots, no plot settings (no controls at the bottom of the window. 

Here is the output on the R console:

latticist(agg.R) Loading required package: playwith Loading required package: cairoDevice Loading required package: gWidgetsRGtk2 Loading required package: gWidgets

Attaching package: 'gWidgets'

The following object(s) are masked from 'package:plyr':

id

Loading required package: RGtk2 Fehler in asCairoDevice(myDA, pointsize = pointsize) : Grafik-API Version passt nicht


The latter translates to: 
"Error in asCairoDevice(myDA, pointsize = pointsize) :  Graphics API version 
mismatch"

What version of the product are you using? On what operating system?

sessionInfo() R version 2.12.1 (2010-12-16) Platform: x86_64-pc-linux-gnu (64-bit)

locale: [1] LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=C LC_TIME=de_DE.UTF-8
[4] LC_COLLATE=de_DE.UTF-8 LC_MONETARY=C LC_MESSAGES=de_DE.UTF-8
[7] LC_PAPER=de_DE.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] grid stats graphics grDevices utils datasets methods base

other attached packages: [1] RGtk2_2.20.4 playwith_0.9-53 gWidgetsRGtk2_0.0-74 gWidgets_0.0-44
[5] cairoDevice_2.14 ggplot2_0.8.9 proto_0.3-8 reshape_0.8.4
[9] plyr_1.4 latticist_0.9-43 vcd_1.2-9 colorspace_1.0-1
[13] MASS_7.3-9 latticeExtra_0.6-14 RColorBrewer_1.0-2
lattice_0.19-13

loaded via a namespace (and not attached): [1] gridBase_0.4-3 tools_2.12.1


Operating system is Kubuntu Linux 11.04; Some of the R packages where installed 
from the Ubuntu repositories via apt, e.g. RGtk2, cairoDevice. 

Ubuntu's libgtk version is 2.24.4, libcairo2 is 1.10.2

Original issue reported on code.google.com by bendil...@gmail.com on 30 May 2011 at 1:01

GoogleCodeExporter commented 8 years ago
Someone else who had this issue reported that it was resolved by reinstalling 
Cairo device:

 install.packages("cairoDevice")

Original comment by foolish.android on 13 Nov 2011 at 9:23