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" "apropos"
[6] "aregexec"

Is this a temporary glitch, or is there something new and specific to "datasets" ?

Best,

Laurent

PS: Obligatory sessionInfo:

> sessionInfo()
R version 2.15.1 Patched (2012-08-24 r60412)
Platform: x86_64-unknown-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_DK.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_DK.UTF-8        LC_COLLATE=en_DK.UTF-8
 [5] LC_MONETARY=en_DK.UTF-8    LC_MESSAGES=en_DK.UTF-8
 [7] LC_PAPER=C                 LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_DK.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods base

loaded via a namespace (and not attached):
[1] tcltk_2.15.1 tools_2.15.1

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to