It depends on what you mean by objects. If you are just looking at creating many named variables that are going to hold values (e.g., reading in data from several files that you want to correlate separately), then consider the use of 'lists'. Can you provide a little more detail on exactly the problem that you are trying to solve, and then maybe we can propose a solution.
On Tue, Sep 14, 2010 at 5:55 AM, Alaios <ala...@yahoo.com> wrote: > Thank you very much. I checked the tutorials that on that list but still I do > not know how to create many objects of the same type. Can you please help me > with that? > > Best Regards > Alex > > > > > ________________________________ > From: Tal Galili <tal.gal...@gmail.com> > > Cc: Rhelp <r-help@r-project.org> > Sent: Tue, September 14, 2010 10:11:36 AM > Subject: Re: [R] Object oriented programming in R. > > > Hello Alaios, > I see a bunch of good materials here: > http://www.google.co.il/search?sourceid=chrome&ie=UTF-8&q=Object+oriented+programming+in+R > > > Did you look into them ? > > ----------------Contact > Details:------------------------------------------------------- > Contact me: tal.gal...@gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > ---------------------------------------------------------------------------------------------- > > > > > > > > > Hello everyone. >>I would like to create many objects with R. Does R support objects? >> >>The number of objects needed is not predetermined and it is a parameter >>specified by the user. >>If the user selects to create many objects like 100, would it be possible to >>handle each one by some index? >> >>I would like to thank you in advance for your help. >> >> >>Best Regards >>Alex >> >> >> >> [[alternative HTML version deleted]] >> >>______________________________________________ >>R-help@r-project.org mailing list >>https://stat.ethz.ch/mailman/listinfo/r-help >>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >>and provide commented, minimal, self-contained, reproducible code. >> > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.