m1<-median(x <- 1:10) m2<-median(y = 1:10) #y is declared within the scope of the function hence it does not exist in the user workspace