Re: [R] problem assigning to indexed data frame element

2007-07-06 Thread John Kane
Check what is happening with current.spec. It looks to me as if you are trying to use a factor as an index. See below --- Drescher, Michael (MNR) [EMAIL PROTECTED] wrote: Hi All, Sorry if I ask an obvious thing, I am still new to R ... I created a data frame of given dimensions to

[R] problem assigning to indexed data frame element

2007-07-05 Thread Drescher, Michael (MNR)
Hi All, Sorry if I ask an obvious thing, I am still new to R ... I created a data frame of given dimensions to which I gave strings as column names. I want to write to elements of the data frame by indexing them with the row number and column name (string). The problem is that I can read