> I am reading numeric data as below but the problem is the object > ndata1 and nd1 have characters instead of numeric values. I want to > keep it as numeric. Why the type has changed from numeric to > character and how to avoid this problem? help(as.numeric) Your variable rdata1 has probably character-type. s.