chke1993 wrote > I don't know the meaning of sep="",and don't know where to add the > location of the file such as E//.......
sep="" means the data you are reading is separated by a white/blank space. sep="," would mean it is separated by a comma (,). If the file is located in your working directory it is sufficient to put the file name including extension in the argument line in quotations (file="name.txt"). If it is not in your working directory you need to specify the path by something like. file="C:users//documents//R//name.txt" -- View this message in context: http://r.789695.n4.nabble.com/how-to-read-data-tp4684382p4684400.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.