[GenABEL-dev] descriptives.traits by.var bugs.

Yurii Aulchenko yurii.aulchenko at gmail.com
Tue Mar 8 00:47:18 CET 2011


I would think this is something to solve along the lines of

res <- try( operation );
if ( class(res) == "try-error") {
 ... exception ...
} else {
 ... produce regular results ...
}

Yurii

On Tue, Mar 8, 2011 at 12:22 AM,  <pirastu at burlo.trieste.it> wrote:
> Sorry, I took a better look and the problem and it is sligthly different,
> in fact it's not the script but the dataset.
> Basically all of the controls are missing the variable age and the t.test
> crushes and gives out that error.
> I think a check should be added to avoid this from happening, meanwhile
> I've posted a reply on the forum on how to get results anyways.
>
> Best
>
> Nicola


More information about the genabel-devel mailing list