[R] problem with function "polygon"

Eric Elguero Eric.Elguero at ird.fr
Fri Nov 7 17:04:01 CET 2014

On 11/07/2014 04:35 PM, Duncan Murdoch wrote:

> You are not using the polygon() function from the graphics package,
> you're using one coming from somewhere else (maybe an old version of R,
> or some package).  The polygon() function in the graphics package
> doesn't call .Internal(polygon(..., it calls
> .External.graphics(C_polygon, ...
> If at some point you made a
> copy of the polygon() function and saved it, you're stuck with that one
> forever (or at least until you delete it from your workspace, or even
> better, delete the whole saved workspace).

you're absolutely right. I was usin a "polygon" function
from package ade4 (that I copied to my workspace, don't
remember why). I will ask ade4 developpers.

thank you.


More information about the R-help mailing list