Re: [R] incorrect multiple outputs

2009-12-11 Thread Ista Zahn
] incorrect multiple outputs If I rad you code right, file.rows is equal to 1 and your 'for' loop will only iterate once.  Is that what you were expecting? No reproducible code provided, so that is my best guess. file.rows- c(nrow(file)/288)  # input_file.txt contains 288 reformatted lines for each

Re: [R] incorrect multiple outputs

2009-12-11 Thread Richard Thompson
To: biscuitbawa...@googlemail.com Cc: r-help@r-project.org Subject: Re: [R] incorrect multiple outputs If I rad you code right, file.rows is equal to 1 and your 'for' loop will only iterate once. Is that what you were expecting? No reproducible code provided, so that is my best guess

Re: [R] incorrect multiple outputs

2009-12-11 Thread Richard Thompson
Cc: r-help@r-project.org Subject: Re: [R] incorrect multiple outputs If I rad you code right, file.rows is equal to 1 and your 'for' loop will only iterate once. Is that what you were expecting? No reproducible code provided, so that is my best guess. file.rows- c(nrow(file)/288

[R] incorrect multiple outputs

2009-12-10 Thread biscuit
HI, I'm having trouble with a piece of Rscript which keeps outputting incorrectly. it's something like this: the code reads in from a file which contains (reformated) input file-read.table(file=input_file.txt,sep=\t)[,c(1,3:5)] file.rows- c(nrow(file)/288) # input_file.txt contains 288

Re: [R] incorrect multiple outputs

2009-12-10 Thread jim holtman
If I rad you code right, file.rows is equal to 1 and your 'for' loop will only iterate once. Is that what you were expecting? No reproducible code provided, so that is my best guess. file.rows- c(nrow(file)/288) # input_file.txt contains 288 reformatted lines for each original data file ...

Re: [R] incorrect multiple outputs

2009-12-10 Thread bawan03
Date: Thu, 10 Dec 2009 18:00:54 To: biscuitbawa...@googlemail.com Cc: r-help@r-project.org Subject: Re: [R] incorrect multiple outputs If I rad you code right, file.rows is equal to 1 and your 'for' loop will only iterate once. Is that what you were expecting? No reproducible code provided, so