I'm building a library of spectral analysis routines, and have a question.
A few functions I've written work just like existing ts library routines,
with
added functionality. I thought a handy way to set this up would be to set
my library ("spectral") before ts on the search path. Is there an
elegant
way to guarantee this? e.g. if require(ts) is in .First.lib, and ts is not
currently
loaded, ts will be put before spectral on the search path.
Is this a good idea (deliberate masking), or is it too underhanded?
Regards
Jason
DISCLAIMER: This electronic message together with any attachments is
confidential. If you are not the intended recipient, do not copy, disclose or
use the contents in any way. Please also advise us by return e-mail that you
have received the message and then please destroy. Carter Holt Harvey is not
responsible for any changes made to this message and / or any attachments after
sending by Carter Holt Harvey. We use virus scanning software but exclude all
liability for viruses or anything similar in this email or any attachment.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._