Re: [R] name ONLY one column

2010-09-27 Thread Pedersen Jon
Hi, It is because the column names do not exist. If you cast the matrix as a data frame your code would work. jon -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Lorenzo Cattarino Sent: 27. september 2010 10:27 To: r-help@r-project.o

Re: [R] Adding row name to dataframe

2010-09-26 Thread Pedersen Jon
Tim, The row names have only one dimension, so for example row.names(xy)[11]<-"New rname" will work best, Jon -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Tim Clark Sent: 27. september 2010 04:41 To: r-help@r-project.org Cc: tim