Re: [R] Fwd: Re: read.table (Error in file(file, "r") : unable to open connection)

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 09 May 2006 - 18:00:58 EST

Folks,

This two FAQs:

FAQ Q7.8
rw-FAQ Q2.16

Referring enquirers to the FAQs allows readers to see the full arguments rather than getting partial info into the list archives.

On Mon, 8 May 2006, Richard M. Heiberger wrote:

> or use forward slashes, exactly the same as in Unix. This has the advantage
> of being portable, especially if you make it relative to a starting directory.
>
> read.table("c:/a/b/c.dat")
> read.table("c:\\a\\b\\c.dat")
> ---- Original message ----
>> Date: Tue, 9 May 2006 09:42:03 +0800
>> From: ronggui <ronggui.huang@gmail.com>
>> Subject: Re: [R] read.table (Error in file(file, "r") : unable to open connection)
>> To: "David.Lowery@csiro.au" <David.Lowery@csiro.au>
>> Cc: r-help@stat.math.ethz.ch
>>
>> I guess you use R under windows,then use \\ instead of \.
>>
>> or use file.choose() to choose the file directly.
>>
>
> ______________________________________________
> 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
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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 Tue May 09 18:06:52 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 09 May 2006 - 20:10:01 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.