Skip to content
Prev 154874 / 398513 Next

Problems with playwith()

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