[Rd] Spurious warning when calling data() ?

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 23 22:08:51 CEST 2012


On 23/10/2012 20:20, Laurent Gautier wrote:
> Hi,
>
> When calling data, a warning seems to have been left behind
>
>> data(package="stats", verbose=FALSE)
> Warning message:
> In data(package = "stats", verbose = FALSE) :
>    datasets have been moved from package 'stats' to package 'datasets'

Why do you think that is not an intentional warning for people who are 
using very old documentation?


>
> (full version details further below).
>
> Best,
>
> Laurent
>
>> 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] tools_2.15.1
>
>>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list