Skip to content
Prev 241286 / 398500 Next

Populating then sorting a matrix and/or data.frame

Your errors look exactly like mine.

Changing the option flag does allow me to create the data.frame without
any errors.  A quick look confirms that all the values are there and
correct.

However, R has coerced all of my numeric values to strings. 

Using your sample code also turns all the numeric values to strings. 
Perhaps it has something to do with the way R in interpreting the first
column?

Thanks!

-N
On 11/11/10 1:59 PM, William Dunlap wrote: