[R] using R interactively

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Jun 28 20:57:46 CEST 1999

"Terry J. Westley" <twestley at 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?


> 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

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at 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 at stat.math.ethz.ch

More information about the R-help mailing list