[R] Code completion
Peter Dalgaard BSA
p.dalgaard at pubhealth.ku.dk
Sat Feb 17 13:44:33 CET 2001
rossini at blindglobe.net (A.J. Rossini) writes:
> >>>>> "JT" == Jason Turner <jasont at indigoindustrial.co.nz> writes:
> JT> ESS does provide command completion. It's not sophisticated
> JT> enough (as far as I can tell) to provide context-specific
> JT> completion.
> One issue here is (for ESS) is the mechanism for discovery. Duncan,
> Brian, et al, is there anyway to "discover" arguments in R, like you
> can do for methods in Java/Python, etc? (I'm thinking there was, but
> can't seem to recall the exact function name, args()?)
One thing I remember from the Borland products was the very simple
mechanism of pressing a hotkey to get help on the function call you
were in the process of writing.
That kind of thing would seem to be fairly easy to implement in ESS,
(now don't tell me it does so already...) e.g. user types
then realizes that he forgot how to set break values, hits C-F1 (say),
and the minibuffer says
help on [hist]:
press return and get the synopsis of hist in other-window, with a
"more..." entry to get you the rest of the help page (or maybe just
give the whole help page right away).
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