Re: [R] Read output:
Dear all, All of you are right. I use the external hard drive and yesterday my laptop screen went blackout. So I guess that is the cause. Thank you for your help. On Tue, Aug 2, 2016 at 9:53 PM, Jeff Newmillerwrote: > R could not find the specified file. Either it is not there or file system > permissions (off topic here) prevented access to the file. > -- > Sent from my phone. Please excuse my brevity. > > On August 1, 2016 11:30:42 PM PDT, roslinazairimah zakaria < > roslina...@gmail.com> 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 > > > >Thank you for helping. > > -- *Dr. Roslinazairimah Binti Zakaria* *Tel: +609-5492370; Fax. No.+609-5492766* *Email: roslinazairi...@ump.edu.my ; roslina...@gmail.com * Deputy Dean (Academic & Student Affairs) Faculty of Industrial Sciences & Technology University Malaysia Pahang Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Read output:
R could not find the specified file. Either it is not there or file system permissions (off topic here) prevented access to the file. -- Sent from my phone. Please excuse my brevity. On August 1, 2016 11:30:42 PM PDT, roslinazairimah zakariawrote: >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 > >Thank you for helping. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Read output:
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 __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] Read output:
Hi Roslina, As we do not know whether the file actually exists, all I can do is to suggest that you look in your file manager (Windows Explorer, probably) and see if the file is where you think it is. The problem is most likely a spelling error somewhere in the path or filename. Jim On Tue, Aug 2, 2016 at 4:30 PM, roslinazairimah zakariawrote: > 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 > > Thank you for helping. > -- > *Dr. Roslinazairimah Binti Zakaria* > *Tel: +609-5492370; Fax. No.+609-5492766* > > *Email: roslinazairi...@ump.edu.my ; > roslina...@gmail.com * > Deputy Dean (Academic & Student Affairs) > Faculty of Industrial Sciences & Technology > University Malaysia Pahang > Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Read output:
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 Thank you for helping. -- *Dr. Roslinazairimah Binti Zakaria* *Tel: +609-5492370; Fax. No.+609-5492766* *Email: roslinazairi...@ump.edu.my; roslina...@gmail.com * Deputy Dean (Academic & Student Affairs) Faculty of Industrial Sciences & Technology University Malaysia Pahang Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.