Hello When trying to read a table from excel, the generated error message is not documented in the "R data import" document:
> v2 <- read.table("v2-101-405-excel.txt", header=T,row.names=0) Error in read.table("v2-101-405-excel.txt", header = T, row.names = 0) : attempt to select less than one element How do I proceed to resolve this problem? thanks Lars Here are the first three out of around 500 rows in the file (missing data in Target.RESP col is marked as NA): Subject Sex Age Gruppe Type Target.CRESP Target.RESP Target.RT Prime.OnsetTime Target.OnsetTime Ordning Ident 101 female 22 7 t 0 0 1520 155074 158497 101 145 101 female 22 9 o 0 1 3020 161678 166005 102 160 ______________________________________________ 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