Re: [R] Issue with write.table and read.table : I'm not getting out what I put in

2010-07-05 Thread Peter Ehlers
On 2010-07-05 11:30, David Winsemius wrote: On Jul 5, 2010, at 11:49 AM, Irina wrote: Hello, I am trying to save a large matrix of values in a file. My problem is that I am writing write.table(allpos,'control_chr1.txt', dec=".") and then I want to check it with test2=read.table('control_chr1.

Re: [R] Issue with write.table and read.table : I'm not getting out what I put in

2010-07-05 Thread David Winsemius
On Jul 5, 2010, at 11:49 AM, Irina wrote: Hello, I am trying to save a large matrix of values in a file. My problem is that I am writing write.table(allpos,'control_chr1.txt', dec=".") and then I want to check it with test2=read.table('control_chr1.txt') sum(test2[,2]==allpos[,2]) This las

Re: [R] Issue with write.table and read.table : I'm not getting out what I put in

2010-07-05 Thread jim holtman
Why not use 'save' & 'load'? On Mon, Jul 5, 2010 at 11:49 AM, Irina wrote: > Hello, > > I am trying to save a large matrix of values in a file. My problem is that I > am > writing > write.table(allpos,'control_chr1.txt', dec=".") > and then I want to check it with > test2=read.table('control_chr

[R] Issue with write.table and read.table : I'm not getting out what I put in

2010-07-05 Thread Irina
Hello, I am trying to save a large matrix of values in a file. My problem is that I am writing write.table(allpos,'control_chr1.txt', dec=".") and then I want to check it with test2=read.table('control_chr1.txt') sum(test2[,2]==allpos[,2]) This last number is lower than the length of the test2[,