[R] not supressing leading zeros when reading a table?
Adrian Dusa
dusa.adrian at gmail.com
Sun Jul 10 22:47:01 CEST 2005
On 7/10/05, alejandro munoz <guerinche at 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 at 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
More information about the R-help
mailing list