[R] reading data

Christoph Scherber Christoph.Scherber at uni-jena.de
Wed May 5 13:02:54 CEST 2004


Just one small remark:

why don´t you try ("C:\\dados10.txt") ? It seems to me that the double 
"\\" is important!

Cheers
Chris



Christoph Lange wrote:

>(Reply to Margarida Júlia Rodrigues Igreja)
>
>Hello!
>
>  
>
>>When i print:
>>    
>>
>>>a<-read.table(file="C:/dados10.txt")
>>>      
>>>
>>The next error appears:
>>Error in file(file, "r") : unable to open connection
>>In addition: Warning message:
>>cannot open file `C:/dados10.txt'
>> Can you help me?
>>    
>>
>
>Contrary to what Professor Ripley wrote, this file name is of course
>totally valid under unixoid systems.
>
>But 'C:' looks like a windows hard drive mounted under a Unix
>directory named 'C:'. Usually this is done directly under '/', so just
>try:
>
>  a<-read.table(file="/C:/dados10.txt")
>
>-cl
>
>  
>




More information about the R-help mailing list