[R] Read output:
Duncan Murdoch
murdoch.duncan at gmail.com
Tue Aug 2 13:09:43 CEST 2016
On 02/08/2016 2:30 AM, roslinazairimah zakaria wrote:
> Dear r-usersl,
>
> I don't understand this comment:
>
>> gambang <- read.csv("G:/A_backup 11 mei 2015/DATA (D)/1 Universiti
> Malaysia Pahang/ISM-3 2016 UM/Data/Hourly
> Rainfall/gambang2.csv",header=TRUE)
> Error in file(file, "rt") : cannot open the connection
> In addition: Warning message:
> In file(file, "rt") :
> cannot open file 'G:/A_backup 11 mei 2015/DATA (D)/1 Universiti Malaysia
> Pahang/ISM-3 2016 UM/Data/Hourly Rainfall/gambang2.csv': No such file or
> directory
>
It says that the file doesn't exist. It's got a long name, so you may
have made an error typing it. I recommend using
f <- file.choose()
to put the correct filename into f, then
read.csv(f, header = TRUE)
to read it.
Duncan Murdoch
More information about the R-help
mailing list