Bug 15027 - max.print is ignored for matrix headers
Summary: max.print is ignored for matrix headers
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: I/O (show other bugs)
Version: R 2.14.1
Hardware: x86_64/x64/amd64 (64-bit) Linux
: P5 normal
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2012-08-23 19:48 UTC by Sam Steingold
Modified: 2012-08-23 19:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Steingold 2012-08-23 19:48:40 UTC
R version 2.14.1 (2011-12-22)
Platform: x86_64-pc-linux-gnu (64-bit)

despite
options(max.print = 100)
matrix printing outputs the whole header before punting:
> matrix(nrow=20000,ncol=20000)

         [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13]
         [,14] [,15] [,16] [,17] [,18] [,19] [,20] [,21] [,22] [,23] [,24]
         [,25] [,26] [,27] [,28] [,29] [,30] [,31] [,32] [,33] [,34] [,35]
....
      [,37270] [,37271] [,37272] [,37273] [,37274] [,37275] [,37276] [,37277]
      [,37278] [,37279] [,37280] [,37281] [,37282] [,37283] [,37284] [,37285]
      [,37286] [,37287] [,37288] [,37289] [,37290] [,37291] [,37292] [,37293]
      [,37294] [,37295] [,37296] [,37297] [,37298] [,37299] [,37300] [,37301]
....
&c &c

I think it would be more useful to stop earlier.