[R] R can't find some functions in assist package
roger koenker
rkoenker at uiuc.edu
Thu Jul 1 03:22:54 CEST 2004
An R-News or J. of Statistical Software note titled, "Getting to the
Source
of the Problem" detailing the basic strategies for these adventures in
the
new world of S4 methods and namespaces would be very useful.
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
fax: 217-244-6678 Champaign, IL 61820
On Jun 30, 2004, at 8:03 PM, Liaw, Andy wrote:
> That's because `assist' has a namespace:
>
>> library(assist)
> Loading required package: nlme
>> predict.ssr
> Error: 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
>>
>>
>
> ______________________________________________
> 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
More information about the R-help
mailing list