In R, is it possible to assign names to components of a vector without first assigning that vector to a variable name? The normal way is obviously:
z <- 1
Always thought this was a little cleaner, also don't need an additional package:
z <- c(a=1, b=2, c=3) # z # a b c # 1 2 3