[R] conditional import in NAMESPACE

Liaw, Andy andy_liaw at merck.com
Thu Apr 15 01:47:19 CEST 2004


Dear R-help,

Can some one tell me if it's possible to have conditional importFrom() in
the package NAMESPACE file?  Basically I'd like to know if it's possible to
make the NAMESPACE file compatible with R 1.9.0 and those 1.8.1 and earlier.
The problem is that I want to import cmdscale(), which is in `mva' prior to
1.9.0 but in `stats' post 1.9.0.

Any pointer much appreciated!

Best,
Andy

Andy Liaw, PhD
Biometrics Research      PO Box 2000, RY33-300     
Merck Research Labs           Rahway, NJ 07065
mailto:andy_liaw at merck.com        732-594-0820




More information about the R-help mailing list