Hi, Could you please help me in solving the following error message: Error in `[.data.frame`(mytestdata, fp_temp == 1) : undefined columns selected when I use scan instead on read.table, I reicieve this message: Error in names(ret2) <- rowns : 'names' attribute [172] must be the same length as the vector [152] Many thanks, Nancy _________________________________________________________________ [[alternative HTML version deleted]]
Hi all, Could you please help me in solving the following error message: Error in `[.data.frame`(mytestdata, fp_temp == 1) : undefined columns selected when I use scan instead on read.table, I reicieve this message: Error in names(ret2) <- rowns : 'names' attribute [172] must be the same length as the vector [152] Many thanks, Nancy _________________________________________________________________ [[alternative HTML version deleted]]
Hi all, Thanks for the explanation I got other datasets that are already used with others but I got the same errors: ?undefined columns selected? I attach the datasets with this email and this is the command I?m trying: train = read.csv("trainingset.txt",check.names=FALSE) test = read.csv("testset.txt",check.names=FALSE) many thanks, Nancy _________________________________________________________________ -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: testset.txt URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091216/1aa4a947/attachment-0004.txt> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: trainingset.txt URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091216/1aa4a947/attachment-0005.txt>