[R] beginner's problem in displaying large data

Spencer Graves spencer.graves at pdf.com
Wed Nov 17 01:37:29 CET 2004


      1.  Did you try "dim(sample.data)"?  Is it actually 2200 by 15?  
Or are you reading in just some subset of the data?  If it is 2200 by 
15, could you also please do "class(sample.data)"? 

      2.  I just got a full listing from the following: 

      (tst <- data.frame(array(rnorm(2200), dim=c(2200, 15))))

      You might try this.  With R 2.0.0patched under Windows 2000, I got 
rows 1:2200 flying by 3 times, each with 5 columns. 

      3.  Have you considered doing plots (including qqnorm) of numeric 
variables and tables of character variables?  These can often reveal 
problems I might never see in a simple scan of numbers. 

      4.  "PLEASE do read the posting guide! 
http://www.R-project.org/posting-guide.html".  At minimum, please tell 
us which version of R under which operating system, and specifically 
what you did to get it into R and how you know it's 2200 by 15. 

      hope this helps. 
      spencer graves

Terry Mu wrote:

>I got a sample data (let's call it sample.data), which is about 2200 by 15.
>
>I tried to take a look of all data
>
>  
>
>>sample.data
>>    
>>
>
>It shows only a part of data that I thought was a corner. It does not
>really affect my job, but I thought it is nice to have a look of all
>data. I can see individual records and they are fine.
>
>Is this normal because of buffer size or some reasons? Can I use other
>commands or change some settings to display all data?
>
>Thanks,
>Terry
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>  
>

-- 
Spencer Graves, PhD, Senior Development Engineer
O:  (408)938-4420;  mobile:  (408)655-4567




More information about the R-help mailing list