R语言修改vector、matrix、dataframe列名 vector: names(vector)=c('zhang','li','liu') matrix、dataframe: colnames(m/d)=c('zhang','li','liu')