[R] [Fwd: ***HTML***R help]

Dieter Menne dieter.menne at menne-biomed.de
Sat Aug 30 15:26:06 CEST 2008


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



More information about the R-help mailing list