[R] Code completion

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sat Feb 17 15:05:31 CET 2001


On 17 Feb 2001, A.J. Rossini wrote:

> >>>>> "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()?)

args() indeed, *but* R functions are polymorphic in the sense that
different methods can take different argument sequences, so often
you discover `x, ...' for the generic.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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