On 20/10/10 20:31, Yunting Sun wrote:
Hello,



I encounter the problem that one library I use masks the function gam in
another library I use so that the gam in the other library can't function
correctly.   Is it possible to damask?   I detach one of the library but the
masking problem is still there.

Yuo should be able to specify which 'gam' function you want using a double colon;

library(foo) #contains the function 'gam' I want
library(bar) #also contains a function 'gam' I don't want

gam(...) #gives gam from bar library
foo::gam(...) #gives gam from foo as desired.

Regards,

Paul.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to