[R] why R doesn't recognize my file?

2008-04-24 Thread tzsmile
i want to read a txt file "weekly". this file is in d:/my documents i tried the following a<-read.table("d:/my documents/weekly", sep=" ", header=TRUE) but get the following error: Error in open.connection(file, "r") : unable to open connection In addition: Warning message: cannot open file 'd:/

[R] a simple question of importing data

2008-04-24 Thread tzsmile
i just want to read data from Excel and i copied it and pasted into a txt file. then i want to use "read.table" to read it. but however i tried, it doesn't work. can someone help me? data is attached. thanks http://www.nabble.com/file/p16851853/weekly.txt weekly.txt -- View this message in conte