Re: [R] Fwd: basic hist() question

2010-08-22 Thread Philipp Pagel
> It works fine. > > Could you explain to me why it did not worked for read.table? Because of what Gavin already explaied in his reply: read.table returns a data.frame and hist needs a vector. cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Unive

[R] Fwd: basic hist() question

2010-08-21 Thread Adel ESSAFI
-- Forwarded message -- From: Adel ESSAFI Date: 2010/8/21 Subject: Re: [R] basic hist() question To: Henrique Dallazuanna It works fine. Could you explain to me why it did not worked for read.table? regards Adel 2010/8/21 Henrique Dallazuanna > Try this: > > a <- scan('dur