Re: [R] read.table() and scientific notation

From: Prof Brian Ripley <>
Date: Tue 10 Oct 2006 - 11:30:02 GMT

On Tue, 10 Oct 2006, January Weiner wrote:

> Oh, thanks, that was hint enough :-) I see it now. I turns that R does
> not understand
> e-10
> ...which stands for 1e-10 and is produced by some of the bioinformatic
> applications that I use (notably BLAST).

And that is not standard C notation.

> However, R instead of being
> verbose on that just assumes that the whole column is a string.
> Is there a way to enforce a specific conversion in R (for example, to
> be able to see where the errors are?).

Please study ?read.table, especially 'colClasses'.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue Oct 10 21:33:12 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 10 Oct 2006 - 12:30:09 GMT.

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