[R] error reading data help please

From: Ouattara <B.Ouattara_at_swansea.ac.uk>
Date: Thu, 07 Apr 2011 18:47:01 +0100


Dear Readers,

Sorry to bother you.

Have been try to read my data into R (something I have done in the past) but having an error message with this one.

Any possible help please?

Thanks.

Oz  

This is the error I am getting (please see bold):

> setwd("D:/Replication/")

>library(gmp)

> dataFrame2=read.table("data.txt",header=T)

Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, :

  line 1 did not have 58 elements

        [[alternative HTML version deleted]]



R-help_at_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. Received on Thu 07 Apr 2011 - 18:24:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Apr 2011 - 18:50:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive