Re: [R] data error problem

2020-10-05 Thread Jim Lemon
Hi Mir, Without knowing what the data looks like, this is only a guess. read.table() expects a white space delimiter and if you have a space in one of your column names it will consider it as two names instead of one. How many columns do you expect? Jim On Mon, Oct 5, 2020 at 6:14 PM Mohammad Tan

Re: [R] data error problem

2020-10-05 Thread Mohammad Tanvir Ahamed via R-help
Hi, In your data file, the first row does not have an equal number of column like the rest of the row.Check your data file. Specially 1st row.   Regards.Tanvir AhamedStockholm, Sweden | mashra...@yahoo.com On Monday, 5 October 2020, 08:11:48 am GMT+2, Mir Md. Abdus Sal

[R] data error problem

2020-10-04 Thread Mir Md. Abdus Salam
Dear all, I need urgent help. I am a new user of R. I got the following error anovamine<-read.table("spike cu.txt",header=TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 9 elements Can anybody please help me to solve this problem why I am