[R] assign value to slot of S4 object

Laurent Gautier laurent at cbs.dtu.dk
Wed Feb 19 07:23:02 CET 2003


Dear list,

I noticed something while assigning a new value to the slot
of an object of class S4.
Apparently(*) this object is copied while the operation
is performed. Is it really wished ?  (or did I miss something ?)

I use R-1.6.2:
> R.version
         _                
platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
status                    
major    1                
minor    6.2              
year     2003             
month    01               
day      10               
language R      



L.


(*): I did 'top' as I heard my machine playing with the swap




More information about the R-help mailing list