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
>
> _________________________________________________________________
>
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments,...{{dropped}}