Re: [R] Code completion

About this list Date view Thread view Subject view Author view

From: Prof Brian D Ripley (ripley@stats.ox.ac.uk)
Date: Sun 18 Feb 2001 - 00:05:31 EST


Message-ID: <Pine.GSO.4.31.0102171403480.15764-100000@auk.stats>

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

> >>>>> "JT" == Jason Turner <jasont@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@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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:33 EST