Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.SOL.4.20.0401291435580.2032-100000@santiam.dfci.harvard.edu>
Date: 2004-01-29T19:37:39Z
From: Jeff Gentry
Subject: please help me!
In-Reply-To: <1075393163.4019328b670a7@webmail.mines.edu>

>    I'm a new user to R and I am having difficulty reading a file into the 
> program.  Here's the error I keep getting, I bet there's a simple solution, 
> but I cant find any...
> Error in file(file, "r") : unable to open connection
> In addition: Warning message: 
> cannot open file `c:MikeWeather2.txt' 

I am guessing that you didn't escape the backslash in the filename
'c:\MikeWeather2.txt', so you would have to refer to it as
'c:\\MikeWeather2.txt' in R.  But, since you didn't show what you did to
spawn the error, I could be wrong