[R] (no subject)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Mar 31 19:22:30 CEST 2004


Nicole Soranzo <n.soranzo at ucl.ac.uk> writes:

> I cannot seem to be able to import my data anymore. When I try to
> import the attached file with the string
> 
> FunctRes<-read.table("C:/Documents and Settings/FunctRes.txt", header=FALSE)
> 
> I obtain:
> 
>  > FunctRes
>      V1
> 1  ÿþC
...
> 
> Can you help me?

Something is wrong with your file (16-bit encoding?) I see almost
every 2nd character coded as ^@ (ASCII NUL). This is the string
terminator and so has antisocial consequences if it finds its way into
the middle of a character string. You need to get rid of those
somehow.

> ÿþC
> 


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list