Not sure if same problem, but I had a very simple file which wouldn;t load.
I had created it, in a roundabout way, via Gnumeric.  After some fiddlign
around I decided that there was a non-printing character or rogue \n or \r
character somewhere in the file but I couldn;t find it.  loading bits fo the
file worked but still coudn;t locate the problem.

in the end reformatted the file via Bluefish and it was OK.



On 05/10/2007, Ettinger, Nicholas <nicholas-ettinger@uiowa.edu> wrote:
>
>
> Hello all,
>
> I know that this is a terribly banal question but I cannot seem to solve
> it.
>
> I am trying to load in data from a tab-delimited text file.  Some
> columns are mixed text-numbers and other columns are strictly numbers.
> Some cells are blank.
>
> My command is:
> >MDMT_RPup      <-      read.table("GCRMA_MDM-T_RPup.txt", header=T,
> sep="\t", row.names=NULL, fill=TRUE)
>
> The problem is that this text file should load with 118 rows, 7 columns
> of data.  But when I execute the following command:
>
> >dim(MDMT_RPup)
> I only get:
> >40  7
>
> Other similarly generated text files of varying sizes (9 rows, 72 rows,
> etc.) seem to load just fine with the appropriate number of rows.
>
> I have tried opening the text file in MS Excel and deleting all columns
> to the right of the data in case there was some kind of hidden
> character.  No help.
>
> I realize that this is a small problem, but I'm stumped.
>
> Thanks in advance for any help!
> --Nick
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>
>


-- 
Prof R Gott
School of Education
Durham University
Durham
DH1 1TA

	[[alternative HTML version deleted]]

