[Rd] Spurious warning when calling data() ?

Laurent Gautier lgautier at gmail.com
Tue Oct 23 21:46:36 CEST 2012


On 2012-10-23 21:43, Duncan Murdoch wrote:
> On 23/10/2012 3:20 PM, 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'
>
> What is spurious about that warning?  It's still as true now as it was 
> when the move happened several years ago.

Beside the possible debate that a note about the moving might have more 
its place in release notes or documentation than in a warning message, 
shouldn't this disappear after one or may be two releases ?


>
> Duncan Murdoch
>
>>
>> (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
>



More information about the R-devel mailing list