Aydemir, Zava (FID) wrote:
> Hi
>  
> what does this mean when i get above error? When I call function foo(),
> specifying parameters a and b as below
>  
> a<-5
> b<-6
>  
> 
>>y <- foo(a,b)
>>Error in foo(a, b) : unused argument(s) (6)
> 
Hi Zava,
As the other Jim noted, it looks like foo() is declared with only one 
argument. Perhaps Ben Bolker's clean.args() function in the plotrix 
package would help.

Jim

______________________________________________
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