[R] S4 vs S3. New Package

2013-11-09 Thread daniel schnaider
Hi, I am working on a new credit portfolio optimization package. My question is if it is more recommended to develop in S4 object oriented or S3. It would be more naturally to develop in object oriented paradigm, but there is many concerns regarding S4. 1) Performance of S4 could be an issue as

Re: [R] S4 vs S3. New Package

2013-11-09 Thread Simon Zehnder
This depends very often of on the developer and what he is comfortable with. I like S4 classes, as I come from C++ and S4 classes approximate C++ classes at least more than S3 classes do (Reference Classes would do so even more and I know very good R programmers liking these most). 1) I wrote

Re: [R] S4 vs S3. New Package

2013-11-09 Thread Rolf Turner
For my take on the issue see fortune(strait jacket). cheers, Rolf Turner P. S. I said that quite some time ago and I have seen nothing in the intervening years to change my views. R. T. On 11/10/13 04:22, daniel schnaider wrote: Hi, I am working on a new credit portfolio

Re: [R] S4 vs S3. New Package

2013-11-09 Thread Martin Morgan
On 11/09/2013 11:59 AM, Rolf Turner wrote: For my take on the issue see fortune(strait jacket). cheers, Rolf Turner P. S. I said that quite some time ago and I have seen nothing in the intervening years to change my views. Mileage varies; the Bioconductor project attains a

Re: [R] S4 vs S3. New Package

2013-11-09 Thread daniel schnaider
Thank you! On Sat, Nov 9, 2013 at 2:30 PM, Simon Zehnder szehn...@uni-bonn.de wrote: This depends very often of on the developer and what he is comfortable with. I like S4 classes, as I come from C++ and S4 classes approximate C++ classes at least more than S3 classes do (Reference Classes