Brian Lunergan <ff809 <at> ncf.ca> writes:

> 
> I am stuck with a problem and I need help
> ---------------------------
> R has a defined function sum()
> 
> I by chance defined a function with same name
> 
> sum<-function(type='public')
> {
> .......
> 
> }
> 
> and now I m not able to get rid of my sum() fuction. Every time i use 
> sum() my sum function gets called and not the R's built in one...

Almost for sure your .Rdata is read in. Either try another startup 
directory, or delete .Rdata, or start R with the --vanilla option.

Dieter

______________________________________________
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