On 02/03/2015 11:53 AM, Mello Cavallo, Alice wrote: > I copied the file into the bin folder of R ... > > > >> perf_data <- read.csv("PerfResultsCSv.csv") > Error in file(file, "rt") : cannot open the connection > In addition: Warning message: > In file(file, "rt") : > cannot open file 'PerfResultsCSv.csv': No such file or directory > > I also installed and load RWeka package, but canot open. > > > > It seems like I am having some issue of directories... > > I am new to R, any help appreciated.
Setting the filename using the file.choose() function is usually easiest. I.e. f <- file.choose() perf_data <- read.csv(f) You'll get the usual file choose dialog (at least in Windows and OSX; not sure about Linux) when file.choose() runs and can navigate to the file. The full name including path will be saved in f. 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.