basename/dirname changes warning.
Prof Brian D Ripley
Tue, 22 Oct 2002 12:00:39 +0100 (BST)
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, email@example.com
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: firstname.lastname@example.org