[R] Issue when reading a table into R

Sarah Goslee sarah.goslee at gmail.com
Wed Mar 6 22:20:55 CET 2013


Since nobody else has mentioned it: if you are seeing that message
when you are reading data in, then you probably failed to assign the
data to an R object.

mydata <- read.table("somefile") # correct
read.table("somefile") # will simply print your data to the console, not save it

I'm not entirely sure what you meant by "retrieve" so maybe you
already knew this.

You can use e.g.
dim(mydata)
to find out whether it's the size you expect.

Sarah

On Wed, Mar 6, 2013 at 3:58 PM, Paul Bernal <paulbernal07 at gmail.com> wrote:
> Hello everyone,
>
> I was reading a table into R, and when trying to retrieve it the following
> message appeared:
>
>  [ reached getOption("max.print") -- omitted 469376 rows ]
>
> Does this mean that R left out 469376 rows? Or R is taking those 469376
> rows as well and the limitation is only for printing purposes?
>
> Thanks in advance for any help,
>
> Best regards,
>
> Paul

-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list