[R] Limited output

David Winsemius dwinsemius at comcast.net
Tue Jul 20 20:52:04 CEST 2010


On Jul 20, 2010, at 1:05 PM, confusedcius wrote:

>
> Hi there,
>
> I entered over 2000 lines of data into R from SQLite

How?

> and saved it in R as a
> data.frame,

How?

> but the data.frame only gives the first 500 lines. Is there any
> way to either increase the default limit or to determine which of the
> original lines should be in the output (e.g. maybe the last 500  
> instead of
> the first 500)?

There is no limit on the size of data.frames, Well, at least not  
anything near 500, anyway. I suspect that the limit is set by the  
maximum size of the (positive) integer data-type = 2*10^9

What does this return?

  options()$max.print
# [1] 99999   # which is the default

And what does this return?

str(your.data.frame)

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list