Carlo Trimarchi a écrit : > Hi, > how can I read, using for example read.table() or scan(), just one > column from a text file that has more columns without any header? > Thanks, bye.
afaik, you have to read all the table and then you select the column you want. eg read.table(blabla)[3] to get the 3rd column. You can read partially rows (see nrows) but not columns. Please somebody correct me if I am wrong. (Of course a trick could be to transpose your table before writing it, etc) hih ______________________________________________ R-help@stat.math.ethz.ch 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.