Skip to content
Back to formatted view

Raw Message

Message-ID: <000001c3e6a2$542028b0$6633d882@stat.auckland.ac.nz>
Date: 2004-01-29T19:58:56Z
From: Ko-Kang Kevin Wang
Subject: please help me!
In-Reply-To: <1075393163.4019328b670a7@webmail.mines.edu>

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of 
> mpalmier at mines.edu
> Sent: Friday, January 30, 2004 5:19 AM
> To: R-help at lists.R-project.org
> Subject: [R] please help me!
> 
> 
> hello there, 
>    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' 
> 

How did you get this error message?  It would help if you put your codes
here.

But I'm guessing it is because you typed something like:
  foo = read.table("C:\MikeWeather2.txt")

Try to use "C:/MikeWeather2.txt" or "C:\\MikeWeather2.txt".

HTH.

Kevin

--------------------------------------------
Ko-Kang Kevin Wang, MSc(Hon)
Statistics Workshops Co-ordinator
Student Learning Centre
University of Auckland
New Zealand