Message-ID: <Pine.GSO.4.44.0210221156150.6162-100000@auk.stats>
Date: 2002-10-22T11:00:39Z
From: Brian Ripley
Subject: basename/dirname changes warning.
basename and dirname in R <= 1.6.1 are not vectorized, and they silently
ignored all elements after the first in their input.
This was not documented, and e.g. undoc assumed basename was vectorized.
For R-patched I have added a check, and giving an argument of length more
than one is there an error.
For R-devel I have vectorized the code, and so an input of length 0 will no
longer be an error.
--
Brian D. Ripley, ripley@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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._