search for: dynget

Displaying 2 results from an estimated 2 matches for "dynget".

Did you mean: dyngen
2022 Jan 21
1
isNamespaceLoaded() while the namespace is loading
...ning TRUE is correct in this case, or returning FALSE would be better. Or maybe it would make sense to have a way to query the packages that are being loaded currently? AFAICT this works, but it does use some implementation details from loadNamespace(), so it does not seem like a proper solution: dynGet("__NameSpacesLoading__", NULL) Another workaround is something like this: is_loaded <- function(pkg) { if (!isNamespaceLoaded(pkg)) return(FALSE) tryCatch({ loadNamespace(pkg) TRUE }, error = function(err) FALSE) } which forces an error for currently load...
2003 Nov 29
3
performance gap between R 1.7.1 and 1.8.0
Dear R-help, A colleague of mine was running some code on two of our boxes, and noticed a rather large difference in running time. We've so far isolated the problem to the difference between R 1.7.1 and 1.8.0, but not more than that. The exact same code took 933.5 seconds in 1.7.1, and 3594.4 seconds in 1.8.1, on the same box. Basically, the code calls boot() to bootstrap fitting mixture