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.

Reply via email to