Oh yes. The "load package" under the "packages menu" in the Windows version does that. To check I typed "library(assist)" after starting R. Same behavior, ssr is found, but others like predict.ssr, and plot.ssr, give a "not found" message. Thanks for the suggestion. Mike
> Oh yes. The "load package" under the "packages menu" in the Windows > version > does that. To check I typed "library(assist)" after starting R. Same > behavior, ssr is found, but others like predict.ssr, and plot.ssr, give a > "not found" message.Short answer: Try using "predict" instead of "predict.ssr". I think you're meant to quietly use the predict and plot methods provided, and not mention their inner names. Long answer: Namespaces. This means that a method for an object isn't visible to R as a whole. This avoids conflics should another package pick the same names. Does this work? getAnywhere(predict.ssr) Cheers Jason
That's because `assist' has a namespace:> library(assist)Loading required package: nlme> predict.ssrError: Object "predict.ssr" not found> methods("predict")[1] predict.ar* predict.Arima* [3] predict.arima0* predict.glm [5] predict.gls* predict.gnls* [7] predict.HoltWinters* predict.lm [9] predict.lme* predict.lmList* [11] predict.loess* predict.mlm [13] predict.nlme* predict.nls* [15] predict.poly predict.ppr* [17] predict.princomp* predict.slm* [19] predict.smooth.spline* predict.smooth.spline.fit* [21] predict.snm* predict.snr* [23] predict.ssr* predict.StructTS* Non-visible functions are asterisked Use either assist:::predict.ssr or getAnywhere("predict.ssr"). Andy> From: Michael Axelrod > > Oh yes. The "load package" under the "packages menu" in the > Windows version > does that. To check I typed "library(assist)" after starting R. Same > behavior, ssr is found, but others like predict.ssr, and > plot.ssr, give a > "not found" message. > > Thanks for the suggestion. > > Mike > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >