I have this problem: my screen seems not wide enough in R. My true computer monitor is very wide, so I wish that I can line up the text when I stretch it wide. i.e.: This is typical R returns:> summary(a)V1 V2 V3 V4 F:625 Min. :20020103 EMC : 34 Min. : 9300300 L:944 1st Qu.:20020530 BRW : 27 1st Qu.: 9323865 N:615 Median :20020807 Q : 23 Median : 9355230 Mean :20020761 DSS : 22 Mean : 9404488 3rd Qu.:20021015 LU : 20 3rd Qu.: 9410738 Max. :20021231 SLR : 20 Max. :13191609 (Other):2038 V5 V6 V7 V8 Min. : 9300600 Min. : 0.00 Min. :0.03000 Min. : 0.62 1st Qu.: 9401610 1st Qu.: 2.00 1st Qu.:0.03500 1st Qu.: 9.00 Median : 9534786 Median :11.00 Median :0.04500 Median : 17.50 Mean : 9818852 Mean :24.36 Mean :0.06215 Mean : 21.01 3rd Qu.:10313592 3rd Qu.:59.00 3rd Qu.:0.06500 3rd Qu.: 28.32 Max. :13205647 Max. :60.00 Max. :0.57400 Max. :121.20 V9 V10 V11 V12 Min. : 202200 Min. : 100 Min. : 0.61 Min. : 50 1st Qu.: 748350 1st Qu.: 38775 1st Qu.: 9.10 1st Qu.:2000 Median : 1742450 Median : 98750 Median : 17.62 Median :2000 Mean : 4159455 Mean : 267184 Mean : 21.07 Mean :1901 3rd Qu.: 4556200 3rd Qu.: 241250 3rd Qu.: 28.48 3rd Qu.:2000 Max. :90155800 Max. :12505300 Max. :120.60 Max. :2000 V13 Min. :-3750.0 1st Qu.: -300.0 Median : -100.0 Mean : 140.2 3rd Qu.: 460.0 Max. : 8700.0 But I want to see:> summary(a)V1 V2 V3 V4 V5 V6 V7 V8 F:625 Min. :20020103 EMC : 34 Min. : 9300300 Min. : 9300600 Min. : 0.00 Min. :0.03000 Min. : 0.62 L:944 1st Qu.:20020530 BRW : 27 1st Qu.: 9323865 1st Qu.: 9401610 1st Qu.: 2.00 1st Qu.:0.03500 1st Qu.: 9.00 N:615 Median :20020807 Q : 23 Median : 9355230 Median : 9534786 Median :11.00 Median :0.04500 Median : 17.50 Mean :20020761 DSS : 22 Mean : 9404488 Mean : 9818852 Mean :24.36 Mean :0.06215 Mean : 21.01 3rd Qu.:20021015 LU : 20 3rd Qu.: 9410738 3rd Qu.:10313592 3rd Qu.:59.00 3rd Qu.:0.06500 3rd Qu.: 28.32 Max. :20021231 SLR : 20 Max. :13191609 Max. :13205647 Max. :60.00 Max. :0.57400 Max. :121.20 (Other):2038 They all lines in unix not on my email, here. I hope you understand what I mean. Thanks very much. Yan [[alternative HTML version deleted]]
Try ?options Andrew On Thursday 11 March 2004 06:34, Yan Zhang wrote:> I have this problem: my screen seems not wide enough in R. My true > computer monitor is very wide, so I wish that I can line up the text > when I stretch it wide. i.e.: > > This is typical R returns: > > summary(a) > > V1 V2 V3 V4 > F:625 Min. :20020103 EMC : 34 Min. : 9300300 > L:944 1st Qu.:20020530 BRW : 27 1st Qu.: 9323865 > N:615 Median :20020807 Q : 23 Median : 9355230 > Mean :20020761 DSS : 22 Mean : 9404488 > 3rd Qu.:20021015 LU : 20 3rd Qu.: 9410738 > Max. :20021231 SLR : 20 Max. :13191609 > (Other):2038 > V5 V6 V7 V8 > Min. : 9300600 Min. : 0.00 Min. :0.03000 Min. : 0.62 > 1st Qu.: 9401610 1st Qu.: 2.00 1st Qu.:0.03500 1st Qu.: 9.00 > Median : 9534786 Median :11.00 Median :0.04500 Median : 17.50 > Mean : 9818852 Mean :24.36 Mean :0.06215 Mean : 21.01 > 3rd Qu.:10313592 3rd Qu.:59.00 3rd Qu.:0.06500 3rd Qu.: 28.32 > Max. :13205647 Max. :60.00 Max. :0.57400 Max. :121.20 > > V9 V10 V11 V12 > Min. : 202200 Min. : 100 Min. : 0.61 Min. : 50 > 1st Qu.: 748350 1st Qu.: 38775 1st Qu.: 9.10 1st Qu.:2000 > Median : 1742450 Median : 98750 Median : 17.62 Median :2000 > Mean : 4159455 Mean : 267184 Mean : 21.07 Mean :1901 > 3rd Qu.: 4556200 3rd Qu.: 241250 3rd Qu.: 28.48 3rd Qu.:2000 > Max. :90155800 Max. :12505300 Max. :120.60 Max. :2000 > > V13 > Min. :-3750.0 > 1st Qu.: -300.0 > Median : -100.0 > Mean : 140.2 > 3rd Qu.: 460.0 > Max. : 8700.0 > > But I want to see: > > summary(a) > > V1 V2 V3 V4 V5 > V6 V7 V8 > F:625 Min. :20020103 EMC : 34 Min. : 9300300 Min. : > 9300600 Min. : 0.00 Min. :0.03000 Min. : 0.62 > L:944 1st Qu.:20020530 BRW : 27 1st Qu.: 9323865 1st Qu.: > 9401610 1st Qu.: 2.00 1st Qu.:0.03500 1st Qu.: 9.00 > N:615 Median :20020807 Q : 23 Median : 9355230 Median : > 9534786 Median :11.00 Median :0.04500 Median : 17.50 > Mean :20020761 DSS : 22 Mean : 9404488 Mean : > 9818852 Mean :24.36 Mean :0.06215 Mean : 21.01 > 3rd Qu.:20021015 LU : 20 3rd Qu.: 9410738 3rd > Qu.:10313592 3rd Qu.:59.00 3rd Qu.:0.06500 3rd Qu.: 28.32 > Max. :20021231 SLR : 20 Max. :13191609 Max. > > :13205647 Max. :60.00 Max. :0.57400 Max. :121.20 > > (Other):2038 > > They all lines in unix not on my email, here. > > I hope you understand what I mean. > > Thanks very much. > > Yan > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html-- Andrew Robinson Ph: 208 885 7115 Department of Forest Resources Fa: 208 885 6226 University of Idaho E : andrewr at uidaho.edu PO Box 441133 W : http://www.uidaho.edu/~andrewr Moscow ID 83843 Or: http://www.biometrics.uidaho.edu No statement above necessarily represents my employer's opinion.
See ?options and especially the "width" option. Options used in base R: ... 'width': controls the number of characters on a line. You may want to change this if you re-size the window that R is running in. Valid values are 10...10000 with default normally 80. (The valid values are in file 'Print.h' and can be changed by re-compiling R.) You can get wide lines with options(width=132) for example. "Yan Zhang" <YanZhang at paloma.com> writes:> I have this problem: my screen seems not wide enough in R. My true > computer monitor is very wide, so I wish that I can line up the text > when I stretch it wide. i.e.:
I got it already , thanks very much everyone. -----Original Message----- From: Douglas Bates [mailto:bates at bates4.stat.wisc.edu] On Behalf Of Douglas Bates Sent: Thursday, March 11, 2004 12:27 PM To: Yan Zhang Cc: r-help at stat.math.ethz.ch Subject: Re: [R] widen the screen place See ?options and especially the "width" option. Options used in base R: ... 'width': controls the number of characters on a line. You may want to change this if you re-size the window that R is running in. Valid values are 10...10000 with default normally 80. (The valid values are in file 'Print.h' and can be changed by re-compiling R.) You can get wide lines with options(width=132) for example. "Yan Zhang" <YanZhang at paloma.com> writes:> I have this problem: my screen seems not wide enough in R. My true > computer monitor is very wide, so I wish that I can line up the text > when I stretch it wide. i.e.: