[R] How to check the code for generic function in a specific package?

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Jul 5 23:57:31 CEST 2004


F Duan wrote:

> Hello, R people,
> 
>  
> 
> I am a R beginner. I searched the R-FAQ and R-help and failed to find the
> answers. 
> 
>  
> 
> Could anyone tell me how to check (or edit) a generic function within a
> specific package? If the function is not generic, I can just type the
> function name at the R prompt or use "fix()" and "edit()".

fix() *does* work for me, giving you expect that the fucntion is not 
"fixed" within the package, but a new (changed) instance is created in 
your Workspace.....

What do you expect to happen? What is the error message (if there is any)?

In order to change packages, you might want to edit the package sources 
directly.

Uwe Ligges



>  
> 
> Thanks a lot.
> 
>  
> 
> Frank
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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