Hi, 

please someone correct me, but
On 13/06/2008, 07:21, [EMAIL PROTECTED] wrote:
> dat<-read.table(file="C:\\Documents and Settings\\Owner\\My 
> Documents\\Yeast\\Yeast.txt",header=T,row.names=1)

Check mode and class of dat. read.table provided you with a dataframe
of, essentially, string data. You have to apply as.numeric where it
fits.


> x<-dat[2,23:46]
     ^
most probably here.

Regards
        Lars

p.s. Your code is awfully to read, please add some spaces where
appropriate.


-- 
Lars Fischer                            tel: +49 (0)6151 16-2889
Technische Universität Darmstadt
Fachbereich Informatik/ FG Sicherheit in der Informationstechnik
PGP FPR: A197 CBE1 91FC 0CE3 A71D  77F2 1094 CB6E CEE3 7111

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to