[Rd] data(package = "..") gives extraneous warning (PR#1024)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Fri, 13 Jul 2001 16:09:16 +0200 (MET DST)


Not too hard to fix, the following buglet (new in 1.3.0),
but I'm about to leave for one week (of vacation)..

Here is an example (for Linux) :

  lynne{sfs}214> cd /tmp
  lynne{sfs}215> mkdir blue
  lynne{sfs}216> cd blue
  /tmp/blue
  lynne{sfs}217> echo 'data(package = "mva")'|R-1.3.0 --vanilla

  R : Copyright 2001, The R Development Core Team
  Version 1.3.0  (2001-06-22)

  R is free software and comes with ABSOLUTELY NO WARRANTY.
  You are welcome to redistribute it under certain conditions.
  Type `license()' or `licence()' for distribution details.

  R is a collaborative project with many contributors.
  Type `contributors()' for more information.

  Type `demo()' for some demos, `help()' for on-line help, or
  `help.start()' for a HTML browser interface to help.
  Type `q()' to quit R.

  > data(package = "mva")
  Data sets in package `mva':


  Harman23.cor             Harman Example 2.3
  Harman74.cor             Harman Example 7.4
  ability.cov              Ability and Intelligence Tests

  Warning message: 
  package `blue' contains no datasets in: data(package = "mva") 
  > 
-------------------

See the warning line at the very end.
It's because of the new data() feature of looking for data sets in the
current directory...

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._