Re: [R] beginner's problem in displaying large data
You can also try : ab - matrix(rnorm(1),nc=5) edit(ab) Hope this helps. Spencer Graves a écrit : 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 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Romain François 25, avenue Guy Moquet 94 400 Vitry sur seine FRANCE ___ ___ [EMAIL PROTECTED] 01 46 80 65 60 06 18 39 14 69 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] beginner's problem in displaying large data
Are you sure you are only getting the last 5 columns, rows 1723:2200? There isn't a scroll bar some place? What do you get from the following? (tst - data.frame(array(rnorm(500), dim=c(500, 6 This should come in 2 sets of 500 rows, the first with 5 columns, the second with only 1. If what you said earlier is accurate, I would guess that when this is done, the screen would display rows 23:500 of column 6. Is this what you get? If you still have troubles, check ?sink, pipe the output to a text file file, and look at the file with some other application, e.g.: sink(huh.txt) (tst - data.frame(array(rnorm(500), dim=c(500, 6 sink() hope this helps. spencer graves Terry Mu wrote: Dear Spencer, Thank you for your comment. 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)? Yes, dim() gives the number. class(sample.data) gives data.frame 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. I tried this, did not get full listing. What I got was last 5 columns from 1723. I am using R 2.0.0 under Windows 2000. 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. They are all 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. Sorry about that. Thanks, Terry Mu 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 __ [EMAIL PROTECTED] 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 -- Spencer Graves, PhD, Senior Development Engineer O: (408)938-4420; mobile: (408)655-4567 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] beginner's problem in displaying large data
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 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] beginner's problem in displaying large data
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 __ [EMAIL PROTECTED] 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 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html