Re: [R] while loop until end of file

2010-08-29 Thread Joshua Wiley
Hi Marcel, Not quite sure what you want the while loop for. Does this do what you want? mydat <- read.table(textConnection(" Pair group param1 1 D 10 1 D 10 1 R 10 1 D 10 2 D 10 2

Re: [R] while loop until end of file

2010-08-29 Thread Bill.Venables
age- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Marcel Curlin Sent: Monday, 30 August 2010 2:08 PM To: r-help@r-project.org Subject: [R] while loop until end of file Hi Guys, stumped by a simple problem. I would like to take a file of the form Pair

[R] while loop until end of file

2010-08-29 Thread Marcel Curlin
Hi Guys, stumped by a simple problem. I would like to take a file of the form Pair group param1 1 D 10 1 D 10 1 R 10 1 D 10 2 D 10 2 D 10 2 D 10 2