[R] Variable alias

Daniel Haase dh at haase-zm.de
Sat Aug 1 16:55:46 CEST 2009


Hi Everyone,

is there the possibility in R to assign a variable to be an alias of  
another one?
Example:

x <- 17
# assign y to be an alias of x
y # returns 17
x <- 4
y # returns 4

Daniel




More information about the R-help mailing list