Re: [R] histogram

From: Lars Fischer <>
Date: Fri, 13 Jun 2008 16:35:43 +0200


please someone correct me, but
On 13/06/2008, 07:21, 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.



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

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 13 Jun 2008 - 17:39:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 Jun 2008 - 18:30:44 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive