Displaying 1 result from an estimated 1 matches for "data_matrix_files".
2006 Sep 04
3
opening files in directory
...But I get this error when I try to open the first file using read.table
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'data_files/files[[i]]'
if I try the read.table command without the quotation marks like so
x<-read.table(data_matrix_files/files[[i]])
I get the error
Error in read.table(data_matrix_files/files[[i]]) :
Object "data_matrix_files" not found
But if I go to the directory where the files are kept before starting up R, the read.table command without the quotation marks works.
I don't want to start up...