On 2/1/10, Sigbert Klinke <sigb...@wiwi.hu-berlin.de> wrote: > efaApp <- function(data, ...) > { > playwith (myplot(data[,8:9]), > click.mode = "Brush", > ) > } > This does work if you use plot() directly: efaApp <- function(data, ...) { playwith (plot(data[,1:2]), click.mode = "Brush", ) }
> efaApp(as.data.frame(Boston)) > > My plot routines even return invisibly a list itself. > My guess is that by passing through a custom function you generate output that playwith does not understand. One way to work around is: myplot <- function(x, ...) { plot(x) } Allowing for other options seems to make playwith happier. Liviu > >> Under linux my R program simply continues, but under Windows it stops. > > > I just saw that under Windows my program continues as well, just the > GTK+ window was minimized. > > Thanks Sigbert > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail ______________________________________________ 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.