[R] Change value of a slot of an S4 object within a method.

Joris Meys jorismeys at gmail.com
Thu Aug 26 09:41:28 CEST 2010


OK, I admit. It will never win a beauty price, but I won't either so
we go pretty well together.

Seriously, I am aware this is about the worst way to solve such a
problem. But as I said, rewriting the class definitions wasn't an
option any more. I'll definitely take your advice for the next
project.

Cheers
Joris

On Wed, Aug 25, 2010 at 9:36 PM, Steve Lianoglou
<mailinglist.honeypot at gmail.com> wrote:
> Howdy,

> My eyes start to gloss over on their first encounter of `substitute`
> ... add enough `eval`s and (even) an `expression` (!) to that, and
> you'll probably see me running for the hills ... but hey, if it makes
> sense to you, more power to you ;-)
>
> Glad you found a fix that works,
>
> -steve
>
> --
> Steve Lianoglou
> Graduate Student: Computational Systems Biology
>  | Memorial Sloan-Kettering Cancer Center
>  | Weill Medical College of Cornell University
> Contact Info: http://cbio.mskcc.org/~lianos/contact
>



-- 
Joris Meys
Statistical consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

tel : +32 9 264 59 87
Joris.Meys at Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php



More information about the R-help mailing list