On Mon, 3 Jan 2011, Frank Harrell wrote:
Correct. I'm doing this because of non-exported functions in other packages, so I need ::: I'd still appreciate any insight about whether importFrom in NAMESPACE defers package loading so that if the package is not actually used (and is not installed) there will be no problem.
It does not -- the namespace from which you import is loaded when your package is. (Also you can't import unexported variables.) Best, luke
Thanks Frank ----- Frank Harrell Department of Biostatistics, Vanderbilt University
-- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics and Fax: 319-335-3017 Actuarial Science 241 Schaeffer Hall email: l...@stat.uiowa.edu Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.