Hello, I would like to extract unique elements of a variable which belongs to a list liste <- list(V1=c(1,2,3,5,2), V2=c(1,2,3,4,5)) var <- "V1" uni <- unique(liste[var]) #does not work I know that liste[var]$V1 works but for my problem, the label variable "V1" is only know through the var variable. I can I do Thanks in advance.