Select random element in a list of R? January 16, 2023 by Tarik # Sample from the vector 'a' 1 element. sample(a, 1)