Hello, I managed to install playwith package and all its prerequisites. My R version is R 2.14:
R version 2.14.1 (2011-12-22) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) All my packages were updated, and recently installed. When I attempt to use the command playwith I get the following error message: > library(playwith) Loading required package: lattice Loading required package: cairoDevice Loading required package: gWidgetsRGtk2 Loading required package: gWidgets Loading required package: grid > playwith(plot(1:10)) Error in playwith(plot(1:10)) : attempt to apply non-function > playwith(xyplot(Income ~ log(Population / Area), + data = data.frame(state.x77), groups = state.region, + type = c("p", "smooth"), span = 1, auto.key = TRUE, + xlab = "Population density, 1974 (log scale)", + ylab = "Income per capita, 1974") + ) Error in playwith(xyplot(Income ~ log(Population/Area), data = data.frame(state.x77), : attempt to apply non-function > interactive() [1] TRUE > autoplay(on = TRUE, lattice.on = TRUE, base.on = TRUE, grid.on = TRUE, ask = > FALSE) Automatic `playwith` for Lattice graphics is now ON. Automatic `playwith` for base graphics is now ON. Automatic `playwith` for grid graphics is now ON. > plot(1:10) Error in playwith(plot(1:10), envir = <environment>) : attempt to apply non-function Error in plot.xy(xy, type, ...) : plot.new has not been called yet Any advice about why it is not working. thanks Maha [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.