From ggrothendieck at gmail.com  Thu Jan  4 16:00:40 2007
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Thu, 4 Jan 2007 10:00:40 -0500
Subject: [Rd] Which programming paradigm is the most used for make R
	packages?
In-Reply-To: <50a711930701040647m8f938dekb8a470abd189aac9@mail.gmail.com>
References: <50a711930701030946s7d4983d5h2150a4081f5677c6@mail.gmail.com>
	<20070103204956.GB8906@wheat.betterworld.us>
	<50a711930701040647m8f938dekb8a470abd189aac9@mail.gmail.com>
Message-ID: <971536df0701040700udbf43f8m71a781bc52c00867@mail.gmail.com>

Its object oriented in the sense of the Dylan language.  It has
some functional elements but true functional languages have
better support for recursion, tail recursion and absence of side
effects whereas side effects are common in R.


On 1/4/07, Ricardo Rios <alfilnegro.sv at gmail.com> wrote:
> A programming paradigm is a paradigmatic style of programming (compare
> with a methodology, which is a paradigmatic style of doing software
> engineering). I think , the programming paradigm most used for make R
> packages is the functional programming , but I don't know this
> statistic. I need this information in my thesis.
>
> On 1/3/07, Ross Boylan <ross at biostat.ucsf.edu> wrote:
> > 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
> >
>
>
> --
> personal web site:
> http://www.geocities.com/ricardo_rios_sv/index.html
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] Which programming paradigm is the most used for make R packages?
Gabor Grothendieck