Re: [R] Object oriented programming in R.

2010-09-16 Thread Yvonnick Noel
I think you should have a look at the 'proto' package on CRAN. Yvonnick Noel University of Brittany, Rennes France __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Object oriented programming in R.

2010-09-14 Thread Alaios
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

Re: [R] Object oriented programming in R.

2010-09-14 Thread Tal Galili
Hello Alaios, I see a bunch of good materials here: http://www.google.co.il/search?sourceid=chromeie=UTF-8q=Object+oriented+programming+in+R http://www.google.co.il/search?sourceid=chromeie=UTF-8q=Object+oriented+programming+in+RDid you look into them ? Contact Details

Re: [R] Object oriented programming in R.

2010-09-14 Thread Alaios
: 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=chromeie=UTF-8q=Object+oriented+programming+in+R Did you look into them ? Contact Details

Re: [R] Object oriented programming in R.

2010-09-14 Thread Liviu Andronic
On Tue, Sep 14, 2010 at 12:55 PM, 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? Is this what you need? for(i in 1:100){

Re: [R] Object oriented programming in R.

2010-09-14 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/09/10 13:51, Liviu Andronic wrote: On Tue, Sep 14, 2010 at 12:55 PM, 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

Re: [R] Object oriented programming in R.

2010-09-14 Thread Michael Bedward
Hello, I think you will have to specify your requirements (or at least area of interest) in much greater detail to get any very meaningful input from people here. Meanwhile there are countless examples of object-oriented programming using R on the web complete with code. Michael On 14

Re: [R] Object oriented programming in R.

2010-09-14 Thread jim holtman
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

Re: [R] Object oriented programming in R.

2010-09-14 Thread Alaios
: [R] Object oriented programming in R. 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

Re: [R] Object oriented programming in R.

2010-09-14 Thread Dennis Murphy
-help@r-project.org Sent: Tue, September 14, 2010 1:40:37 PM Subject: Re: [R] Object oriented programming in R. 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

Re: [R] Object oriented programming in R.

2010-09-14 Thread Alaios
Sent: Tue, September 14, 2010 3:13:37 PM Subject: Re: [R] Object oriented programming in R. Hi: You could create a list of lists, where the outer list would be between agents and the inner list within agents. The inner list could have the 'matrices and one list' as separate components for each

Re: [R] Object oriented programming in R.

2010-09-14 Thread David Winsemius
like to thank you in advance for your help Best Regards Alex From: Dennis Murphy djmu...@gmail.com Cc: Rhelp r-help@r-project.org Sent: Tue, September 14, 2010 3:13:37 PM Subject: Re: [R] Object oriented programming in R. Hi: You could create a list of lists

Re: [R] Object oriented programming in R.

2010-09-14 Thread jim holtman
From: Dennis Murphy djmu...@gmail.com Cc: Rhelp r-help@r-project.org Sent: Tue, September 14, 2010 3:13:37 PM Subject: Re: [R] Object oriented programming in R. Hi: You could create a list of lists, where the outer list would be between agents and the inner

Re: [R] Object-oriented programming in R

2009-05-28 Thread Mark Wardle
/27 Luc Villandre villa...@dms.umontreal.ca: Dear R-users, I have very recently started learning about object-oriented programming in R. I am far from being an expert in programming, although I do have an elementary C++ background. Please take a look at these lines of code. some.data

Re: [R] Object-oriented programming in R

2009-05-28 Thread Gabor Grothendieck
. On Wed, May 27, 2009 at 12:00 PM, Luc Villandre villa...@dms.umontreal.ca wrote: Dear R-users, I have very recently started learning about object-oriented programming in R. I am far from being an expert in programming, although I do have an elementary C++ background. Please take a look

[R] Object-oriented programming in R

2009-05-27 Thread Luc Villandre
Dear R-users, I have very recently started learning about object-oriented programming in R. I am far from being an expert in programming, although I do have an elementary C++ background. Please take a look at these lines of code. some.data = data.frame(V1 = 1:5, V2 = 6:10) ; p.plot = ggplot

[R] Object-oriented programming in R for Java programmers?

2008-07-27 Thread Werner Wernersen
Hi, I was wondering if anybody might have a reference for me: My R code is growing and getting more and more confusing. Thus, I figure it's time to switch to object-oriented again. I have done oo programming in C++ and Java before but the first few tutorial on R oo were a bit confusing for me.

Re: [R] Object-oriented programming in R for Java programmers?

2008-07-27 Thread Johannes Huesing
Werner Wernersen [EMAIL PROTECTED] [Sun, Jul 27, 2008 at 01:55:26PM CEST]: [...] Is there any brief tutorial on oo programming in R especially for people who have done oo in Java or C++ before? That would be really helpful. How S4 methods work highlights the differences between R's

Re: [R] Object-oriented programming in R for Java programmers?

2008-07-27 Thread Jeroen Ooms
of my R-code quickly getting messy and confusing. -- View this message in context: http://www.nabble.com/Object-oriented-programming-in-R-for-Java-programmers--tp18675688p18679872.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r

Re: [R] Object-oriented programming in R for Java programmers?

2008-07-27 Thread Stephen Tucker
] Object-oriented programming in R for Java programmers? Hi, I was wondering if anybody might have a reference for me: My R code is growing and getting more and more confusing. Thus, I figure it's time to switch to object-oriented again. I have done oo programming in C++ and Java before

Re: [R] Object-oriented programming in R for Java programmers?

2008-07-27 Thread Stephen Tucker
: Johannes Huesing [EMAIL PROTECTED] To: r-help@r-project.org Sent: Sunday, July 27, 2008 12:21:37 PM Subject: Re: [R] Object-oriented programming in R for Java programmers? Werner Wernersen [EMAIL PROTECTED] [Sun, Jul 27, 2008 at 01:55:26PM CEST]: [...] Is there any brief tutorial on oo programming

[R] Object Oriented programming in R

2008-03-06 Thread Davood Tofighi
Dear all, I was wondering if there a guide/tutorial to the object oriented programming in R for the beginners. Thanks, -- Davood Tofighi Department of Psychology Arizona State University [[alternative HTML version deleted]] __ R-help@r

Re: [R] Object Oriented programming in R

2008-03-06 Thread Research Scholar
You can try this good resource http://www1.maths.lth.se/help/R/R.oo/ RS On Thu, Mar 6, 2008 at 9:30 PM, Davood Tofighi [EMAIL PROTECTED] wrote: Dear all, I was wondering if there a guide/tutorial to the object oriented programming in R for the beginners. Thanks, -- Davood Tofighi