From matthias.burger at epigenomics.com  Sat Mar 17 00:17:06 2007
From: matthias.burger at epigenomics.com (Matthias Burger)
Date: 17 Mar 2007 00:17:06 +0100
Subject: [Rd] R 2.5.0 devel try issue in conjuntion with S4 method
	dispatch
In-Reply-To: <45F98B1D.2060501@epigenomics.com>
References: <45F98B1D.2060501@epigenomics.com>
Message-ID: <26643.89.62.105.96.1174087026.squirrel@gk.uu.epigenomics.net>


Hi Seth,

>It isn't S4 specific.  The issue seems more about anonymous
>calls/functions.
>
>   ll = list()
>   ll[[1]] = function(x) stop("died")
>
>   v = try(do.call(ll[[1]], list(1)), silent=TRUE)
>   Error in as.list(call)[[1]] == "doTryCatch" :
>   	comparison (1) is possible only for atomic and list types
>   > v
>   Error: object "v" not found

>I don't fully understand why the call is being computed, but the
>following seems to get things going.
>
>+ seth

I applied your patch and the issues seems to be resolved.  Now I just wait
to see if all test case failures related to this disappear.

Thank you for your kind help!

  Matthias

-- 
Matthias Burger                     Project Manager/ Biostatistician
Epigenomics AG    Kleine Praesidentenstr. 1    10178 Berlin, Germany
phone:+49-30-24345-371                          fax:+49-30-24345-555
http://www.epigenomics.com           matthias.burger at epigenomics.com
--
Epigenomics AG Berlin           Amtsgericht Charlottenburg HRB 75861
Vorstand:   Geert Nygaard (CEO/Vorsitzender),  Dr. Kurt Berlin (CSO)
              Oliver Schacht PhD (CFO),  Christian Piepenbrock (COO)
Aufsichtsrat:   Prof. Dr. Dr. hc. Rolf Krebs (Chairman/Vorsitzender)



[Rd] R 2.5.0 devel try issue in conjuntion with S4 method dispatch
Matthias Burger