Re: [R] Use dump or write? or what?

2011-08-01 Thread Dieter Menne
oaxacamatt wrote: I am calculating two t-test values for each of many files then save it to file calculate another set and append, repeat. You did not tell use what you want to do with the data in the file. If you just want a copy of the output, bracketing with sink(file) and sink() can be

Re: [R] Use dump or write? or what?

2011-08-01 Thread Jeffrey Dick
Hi Matt, I assume that you want a tabular text file of the results. Since I don't know what your tempA and tempB are I'll steal some examples from ?t.test t.example.1 - t.test(1:10,y=c(7:20)) t.example.2 - t.test(1:10,y=c(7:20, 200)) Now looking at ?dump, the first argument needs to be

Re: [R] Use dump or write? or what?

2011-08-01 Thread jim holtman
Can you define better exactly what you what to do with the data. I would suggest that you keep each of the outputs (objects) of the test in a 'list' that way you can access each one and do what you need. You can also 'save' the list and later 'load' it into another session. On Sun, Jul 31, 2011

Re: [R] Use dump or write? or what?

2011-08-01 Thread Matt Curcio
Greetings all, Thanks for all your help so far. Let me give a better idea of what I am doing. I have hundreds of files that I need to plow thru with a t-test and correlation test. BTW, 'tempA' and tempB' are simply columns of numbers from a gene-chip experiment that spits out dna 'amounts'. So I

[R] Use dump or write? or what?

2011-07-31 Thread Matt Curcio
Greetings all, I am calculating two t-test values for each of many files then save it to file calculate another set and append, repeat. But I can't figure out how to write it to file and then append subsequent t-tests. (maybe too tired ;} ) I have tried to use dump and file.append to no avial.