Re: [R] S4; Setter function is not chaning slot value as expected

2013-11-10 Thread daniel schnaider
another object and change all the value of all slots, keeping technically all the other values equal and changing 54321? thanks.. On Sat, Nov 9, 2013 at 4:20 PM, Martin Morgan mtmor...@fhcrc.org wrote: On 11/09/2013 06:31 AM, daniel schnaider wrote: It is my first time programming with S4

Re: [R] S4; Setter function is not chaning slot value as expected

2013-11-10 Thread daniel schnaider
://stackoverflow.com/questions/18677696/stack- class-in-r-something-more-concise/18678440#18678440 and I think elsewhere on this or the R-devel list (sorry not to be able to provide a more precise recollection). Martin Hadley On Sat, Nov 9, 2013 at 9:31 AM, daniel schnaider dschnai...@gmail.com wrote

[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

[R] S4; Setter function is not chaning slot value as expected

2013-11-09 Thread daniel schnaider
It is my first time programming with S4 and I can't get the setter fuction to actually change the value of the slot created by the constructor. I guess it has to do with local copy, global copy, etc. of the variable - but, I could't find anything relevant in documentation. Tried to copy examples

Re: [R] S4 vs S3. New Package

2013-11-09 Thread daniel schnaider
/S4Objects.pdf And for a bunch of packages look into the Bioconductor packages. Best Simon On 09 Nov 2013, at 16:22, daniel schnaider dschnai...@gmail.com wrote: Hi, I am working on a new credit portfolio optimization package. My question is if it is more recommended to develop in S4 object