Skip to content

Problems with playwith()

2 messages · Dani Valverde, Michael Bibo

#
Hello,
I am trying to execute an example provided in the help files for the 
playwith() function. I try to execute the first example:

library(playwith)
if (interactive()) {
options(device.ask.default = FALSE)

## Scatterplot (Lattice graphics).
## Labels are taken from rownames of data.
## Just click on the plot to identify points.
playwith(xyplot(Income ~ log(Population / Area),
   data = data.frame(state.x77), groups = state.region,
   type = c("p", "smooth"), span = 1, auto.key = TRUE,
   ylab = "Income per capita, 1974"))
}

I get many errors regarded with GLib, and finally it says that the 
runtime environment asks to close the application in an appropiate way. 
Any idea on how to solve thi? I have all packages installed. I use R 
2.7.2 and GTK+ 2.12.9. I have all the required packages installed.
Best,

Dani
#
Dani Valverde <daniel.valverde <at> uab.cat> writes:
I have no solution, but I have also experienced the same behaviour 
when 'playing with' the latticist GUI in the playwith package:
WinXP; R-2.7.2; GTK 2.12.9.  As a GTK comparison, I have not observed the same 
errors when using rattle GUI.

Michael Bibo
Queensland Health