Make sure you either use full path to `typhoon.txt' as you did with `typhoon.r', or setwd() to the directory where `typhoon.txt' lives before reading it.
[Please use an informative subject for your message.] Andy > From: Andrew Abel > > Hi, > > I keep getting this error code when I try to run an R file > that reads in > data from another file. I know the file is there. > > source("C:/R_Data/typhoon.r") > Error in file(file, "r") : unable to open connection > In addition: Warning message: > cannot open file `typhoon.txt' > > > I hope you can help. > > Regards > > Andrew Abel > > _________________________________________________________________ > You could be a genius! Find out by taking the IQ Test 2003. > $5.50 (incl > GST). Click here: > http://sites.ninemsn.com.au/minisite/testaustr> alia/ > ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}} ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html