# Assign vector v1 <- c("one", "two", "three") #% Get length of vector #%let x <- %symput(length(v1)) #% Get vector values #%let y <- %symput(v1) # Use macro variables a <- x. b <- y. # Print to console print(a) print(b)