Re: [R] reading raw matrix saved with writeBin

2007-03-15 Thread Henrik Bengtsson
FYI, to save data as bitmap images, see the EBImage package on Bioconductor. /H On 3/15/07, Ranjan Maitra <[EMAIL PROTECTED]> wrote: > On Wed, 14 Mar 2007 18:45:53 -0700 (PDT) Milton Cezar Ribeiro <[EMAIL > PROTECTED]> wrote: > > > Dear Friends, > > > > I saved a matrix - which contans values 0

Re: [R] reading raw matrix saved with writeBin

2007-03-14 Thread Ranjan Maitra
On Wed, 14 Mar 2007 18:45:53 -0700 (PDT) Milton Cezar Ribeiro <[EMAIL PROTECTED]> wrote: > Dear Friends, > > I saved a matrix - which contans values 0 and 1 - using following command: > writeBin (as.integer(mymatrix), "myfile.raw", size=1). > > It is working fine and I can see the matrix using

[R] reading raw matrix saved with writeBin

2007-03-14 Thread Milton Cezar Ribeiro
Dear Friends, I saved a matrix - which contans values 0 and 1 - using following command: writeBin (as.integer(mymatrix), "myfile.raw", size=1). It is working fine and I can see the matrix using photoshop. But now I need read the matrices again (in fact I have a thousand of them) as matrix into R