library(c("stats4")) produces a misleading error message

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

library(c("stats4")) produces a misleading error message

Hervé Pagès
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: [hidden email]
Phone:  (206) 667-5791
Fax:    (206) 667-1319

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel