RE: [R] cat bailing out in a for loop

2005-04-05 Thread Liaw, Andy
See ?try. Andy > From: Federico Calboli > > Dear All, > > I am trying to calculate the Hardy-Weinberg Equilibrium p-value for 42 > SNPs. I am using the function HWE.exact from the package "genetics". > > In order not to do a lot of coding "by hand", I have a for loop that > goes through each

Re: [R] cat bailing out in a for loop

2005-04-05 Thread Uwe Ligges
Federico Calboli wrote: Dear All, I am trying to calculate the Hardy-Weinberg Equilibrium p-value for 42 SNPs. I am using the function HWE.exact from the package "genetics". In order not to do a lot of coding "by hand", I have a for loop that goes through each column (each column is one SNP) and gi