x <- 2 x x = 3 # same as <- x x -> 4 # not allowed 4 -> x # allowed X # case sensitive x.y <- 4.5 # . is okay in variable/function names x <- 5 y <- 6 # swap the values of x and y x <- y y <- x x y # did that work?