Ricardo Rios
2007-Jan-03 17:46 UTC
[Rd] Which programming paradigm is the most used for make R packages?
Hi wizards, does somebody know Which programming paradigm is the most used for make R packages ? Thanks in advance. -- personal web site: http://www.geocities.com/ricardo_rios_sv/index.html
Prof Brian Ripley
2007-Jan-03 18:47 UTC
[Rd] Which programming paradigm is the most used for make R packages?
On Wed, 3 Jan 2007, Ricardo Rios wrote:> Hi wizards, does somebody know Which programming paradigm is the most > used for make R packages ? Thanks in advance.R programming? Most R packages are either written solely in R or in R with a small amount of C or Fortran support code. That includes the packages which ship with R itself (although some have a substantial amount of support code). -- 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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Ross Boylan
2007-Jan-03 20:49 UTC
[Rd] Which programming paradigm is the most used for make R packages?
On Wed, Jan 03, 2007 at 11:46:16AM -0600, Ricardo Rios wrote:> Hi wizards, does somebody know Which programming paradigm is the most > used for make R packages ? Thanks in advance. >You need to explain what you mean by the question, for example what paradigms you have in mind. R is a functional language; as I've discovered, this means some standard OO programming approaches don't carry over too naturally. In particular, functions don't really "belong" to classes. R purists would probably want that to say class-based 00 programming doesn't fit, since R is function-based OO. There is a package that permits a more traditional ("class-based") OO style; I think it's called R.oo. Ross Boylan