Re: [R] R can't find some functions in assist package

From: Jason Turner <jasont_at_indigoindustrial.co.nz>
Date: Thu 01 Jul 2004 - 11:02:03 EST

> 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



R-help@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 Received on Thu Jul 01 11:06:31 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:38 EST