From ripley at stats.ox.ac.uk  Thu Jun  2 17:12:27 2005
From: ripley at stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Thu Jun  2 17:12:34 2005
Subject: [Rd] print()ing of raw matrices (PR#7912)
Message-ID: <20050602151227.60F7D871A@slim.kubism.ku.dk>

The bug was a case statement with no default to say `unimplemented'.  I 
have now added that, and implemented printing of raw matrices.

It was intentional, as I thought no one would ever want to print them:
never think `never'!

On Thu, 2 Jun 2005 maechler@stat.math.ethz.ch wrote:

> Not a bug in a very strict sense,
> but still something to be fixed eventually:
>
>> s <- sapply(0:7, function(i) rawShift(charToRaw("my text"),i))
>> s
>
> ... nothing is printed at all
>
>> str(s)
> raw [1:7, 1:8] 6d 79 20 74 ...
>> c(s)
> [1] 6d 79 20 74 65 78 74 da f2 40 e8 ca f0 e8 b4 e4 80 d0 94 e0 d0 68 c8 00 a0
> [26] 28 c0 a0 d0 90 00 40 50 80 40 a0 20 00 80 a0 00 80 40 40 00 00 40 00 00 80
> [51] 80 00 00 80 00 00
>>
>
> and similar behavior for arrays, e.g.,
>
>> dim(s) <- c(7,4,2)
>> s
> , , 1
>
>
> , , 2
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] print()ing of raw matrices (PR#7912)
ripley@stats.ox.ac.uk