[R] please help me!

Ko-Kang Kevin Wang k.wang at auckland.ac.nz
Thu Jan 29 20:58:56 CET 2004

> -----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

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".



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

More information about the R-help mailing list