search for: is_load

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

Did you mean: isload
2022 Jan 21
1
isNamespaceLoaded() while the namespace is loading
...ense 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 loading namespaces by triggering a (fake) recursive dependency. Thanks, Gabor
2006 Nov 26
0
[758] trunk/wxruby2: i18n support: added Locale class, methods for get/set languages & encodings
...ncoding -* "Locale#get_system_encoding_name":#Locale_getsystemencodingname -* "Locale#get_system_language":#Locale_getsystemlanguage </del><span class="cx"> * "Locale#init":#Locale_init </span><span class="cx"> * "Locale#is_loaded":#Locale_isloaded </span><span class="cx"> * "Locale#is_ok":#Locale_isok </span><span class="lines">@@ -46,46 +52,90 @@ </span><span class="cx"> </div> </span><span class="cx"> </span&...