[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] corrupted ASCII file; was: (no subject)
From:       Uwe Ligges <ligges () statistik ! uni-dortmund ! de>
Date:       2004-03-31 21:57:20
Message-ID: 406B3EC0.5BBA1A07 () statistik ! uni-dortmund ! de
[Download RAW message or body]



Nicole Soranzo wrote:
> 
> Hi, I wonder if you can help me:
> 
> 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
> 2   \n
> 3    C
> 4    0
> 5    0
> 6    B
> 7   \n
> 8    C
> 9    0
> 10   1
> 11   B
> 12  \n
> 13   C
> 14   0
> 15   0
> 16   B
> 17  \n
> 18   C
> 19   0
> 20   1
> 21   B
> 22  \n
> 23   C
> 24   0
> 25   1
> 26   B
> 27  \n
> 28   C
> 29   0
> 30   1
> 31   B
> 
> Can you help me?

Strange. The file got corrupted in some way. Copy and paste the contents
to another (empty) ASCII file solves the problem.
[Please use a sensible subject.]

Uwe Ligges


> Thanks
> Nicole
> 
> Dr Nicole Soranzo
> 
> Centre for Population Genetics and Human Health
> 
> University College London
> Darwin Building
> Gower Street
> London WC1E 6BT
> 
> Tel: +44 (0)20 7679 4397
> Fax: +44 (0)20 7679 2887
> 
> E-mail: n.soranzo@ucl.ac.uk
> http://popgen.biol.ucl.ac.uk/
> 
>   ------------------------------------------------------------------------
>                    Name: FunctRes.txt
>    FunctRes.txt    Type: Plain Text (text/plain)
>                Encoding: base64
> 
>   ------------------------------------------------------------------------
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic