[R] Question about .Alias

Laurent Gautier laurent at cbs.dtu.dk
Sun Aug 5 22:33:44 CEST 2001


Dear all,

I have a silly question, but I could not find an answer in the R help
pages about this
(I may have missed it... just send me a pointer if I did so):
do I need to 'alias' an element of an object while I already manipulate
an alias of it ?

To be clear(er):

huge <- list(image1=huge.matrix,image2=huge.matrix)
## It may look strange, but I'd like to keep these 2 matrixes associated

light <- .Alias(huge)

## now I can give 'light' as a parameter to my functions fearless...
## what about light$image1 ? Is this passed, or the 'alias' nature of
'light' is somehow
## propagated ?



Thanking in advance anybody considering this worth his/her time,





Laurent






-- 
Laurent Gautier			CBS, Building 208, DTU
PhD. Student			D-2800 Lyngby,Denmark	
tel: +45 45 25 24 85		http://www.cbs.dtu.dk/laurent
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list