Re: [R] multi-dimension array of raw

2006-06-21 Thread Prof Brian Ripley
On Tue, 20 Jun 2006, Duncan Murdoch wrote: > On 6/20/2006 6:24 PM, Gerald Jansen wrote: >> I would like to store and manipulate large sets of marker genotypes >> compactly using "raw" data arrays. This works fine for vectors or >> matrices, but I run into the error shown in the example below as so

Re: [R] multi-dimension array of raw

2006-06-20 Thread Duncan Murdoch
On 6/20/2006 6:24 PM, Gerald Jansen wrote: > I would like to store and manipulate large sets of marker genotypes > compactly using "raw" data arrays. This works fine for vectors or > matrices, but I run into the error shown in the example below as soon > as I try to use 3 dimensional arrays (eg. a

Re: [R] multi-dimension array of raw

2006-06-20 Thread Duncan Murdoch
On 6/20/2006 6:24 PM, Gerald Jansen wrote: > I would like to store and manipulate large sets of marker genotypes > compactly using "raw" data arrays. This works fine for vectors or > matrices, but I run into the error shown in the example below as soon > as I try to use 3 dimensional arrays (eg. a

[R] multi-dimension array of raw

2006-06-20 Thread Gerald Jansen
I would like to store and manipulate large sets of marker genotypes compactly using "raw" data arrays. This works fine for vectors or matrices, but I run into the error shown in the example below as soon as I try to use 3 dimensional arrays (eg. animal x marker x allele). > a <- array(as.raw(1:6)