Re: [R] not supressing leading zeros when reading a table?

From: Adrian Dusa <dusa.adrian_at_gmail.com>
Date: Mon 11 Jul 2005 - 06:47:01 EST

On 7/10/05, alejandro munoz <guerinche@gmail.com> wrote:
> Adrian,
>
> To prevent coercion to numeric, try:
>
> mydata <- read.table("myfile", colClasses="character")
>
> HTH.
>
> alejandro
> On 7/10/05, Adrian Dusa <dusa.adrian@gmail.com> wrote:
> > Dear R list,
> [...snip...]

Thank you all, I got it.
This is my favourite super fast ever helpful help list (gosh, I didn't even expect an answer Sundays at 10 pm! ). Best,
Adrian



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jul 11 06:53:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:27 EST