search for: getnamespaceexport

Displaying 5 results from an estimated 5 matches for "getnamespaceexport".

Did you mean: getnamespaceexports
2007 May 15
1
getNamespaceExports("base") error
Hi! >getNamespaceExports("base") Error in ls(NULL, all = TRUE) : using 'as.environment(NULL)' is defunct getNamespaceExports function (ns) { ns <- asNamespace(ns) if (isBaseNamespace(ns)) ls(NULL, all = TRUE) else ls(getNamespaceInfo(ns, "exports"), all = TRUE) } &lt...
2012 Aug 26
2
Package "datasets" not exporting anything on a recent R-2.15.1-patched
Hi, I just stumbled on the following apparent oddity: the package "datasets" does not appear to export anything out of its namespace: > ns_datasets <- getNamespace('datasets') > getNamespaceExports(ns_datasets) character(0) Not the case with other packages (example here with "utils"): > ns_utils <- getNamespace('utils') > head(getNamespaceExports(ns_utils)) [1] "?" ".DollarNames" "adist" "alarm" "apr...
2013 Jan 02
2
listing all test functions in base R
Hi, Is there a way to create a list of all statistical test functions in base R? For example, there's t.test, ks.test, chisq.test, etc. I'd like to create a list of these test names because I keep looking for different tests but never know what's available. I'm thinking of a regular expression statement but I'm not sure how this would work for functions. Or is there a
2007 Jun 28
0
R 2.5.1 is released
...turned a logical result when it was 'NA': it now returns an NA of appropriate type (e.g. integer or double). o grep(fixed = TRUE, perl = TRUE) ignored 'fixed', although it was documented to ignore 'perl' Same for [g]regexpr and [g]sub. o getNamespaceExports("base") works again. o runmed(c(), 1) no longer segfaults. o qr.coef(QR, b) failed for an LAPACK-produced QR if b was integer or for an over-determined system. qr.solve() for an under-determined system produces a solution with 0 and not NA for colum...
2007 Jun 28
0
R 2.5.1 is released
...turned a logical result when it was 'NA': it now returns an NA of appropriate type (e.g. integer or double). o grep(fixed = TRUE, perl = TRUE) ignored 'fixed', although it was documented to ignore 'perl' Same for [g]regexpr and [g]sub. o getNamespaceExports("base") works again. o runmed(c(), 1) no longer segfaults. o qr.coef(QR, b) failed for an LAPACK-produced QR if b was integer or for an over-determined system. qr.solve() for an under-determined system produces a solution with 0 and not NA for colum...