如何在值为复制的向量中列出不同的值?我的意思是,类似于以下SQL语句:
SELECT DISTINCT product_code FROM data
r vector distinct-values
distinct-values ×1
r ×1
vector ×1