[Rd] library(c("stats4")) produces a misleading error message

Hervé Pagès hpages at fhcrc.org
Tue Sep 24 07:13:38 CEST 2013


Hi,

This error message is very confusing/misleading for novice users:

   > library(c("stats4"))
   Error in library(c("stats4")) : 'package' must be of length 1

Could it please be improved to mention something about using
'character.only=TRUE' instead?

Thanks,
H.

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the R-devel mailing list