To: <twestley@buffalo.veridian.com>
Subject: Re: [R] using R interactively
From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
Date: 28 Jun 1999 20:57:46 +0200
In-Reply-To: "Terry J. Westley"'s message of "Mon, 28 Jun 1999 14:18:41 -0400"
"Terry J. Westley" <twestley@buffalo.veridian.com> writes:
> 1) Is it possible to erase data points, legends, and/or text
> from an R plot?
Unfortunately no. R is still pretty much stuck in the old hardcopy
device model. Not that we wouldn't want something smarter, but the
changes would be pretty pervasive.
> 2) What's the best way to find the closest data point to
> what locator() returns?
identify()
> 3) Also, has anyone implemented anything like buttons or pull-down
> menus so that I could implement other functions? I'm using
> Tcl/Tk to control this application but I would prefer that, once
> the plot is displayed, the user doesn't have to go back to another
> window to invoke other functions (such as Quit).
Guido Masarotto did a sketchy, but rather neat Tcl/Tk <-> R glue
package at some point. Doesn't work with some linuxen if one uses
international charset, but you probably couldn't care less about
that...
-- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._