Re: [R] problem with function "polygon"

2014-11-07 Thread Eric Elguero
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

Re: [R] problem with function "polygon"

2014-11-07 Thread Duncan Murdoch
On 07/11/2014 10:05 AM, Eric Elguero wrote: Hi all, I'm trying to use the polygon function from the graphics package, and get this error message : > polygon(x=c(1,2,3,1),y=c(1,4,5,1)) Error in .Internal(polygon(xy$x, xy$y, col, border, lty, ...)) : there is no .Internal function 'polygon'

[R] problem with function "polygon"

2014-11-07 Thread Eric Elguero
Hi all, I'm trying to use the polygon function from the graphics package, and get this error message : > polygon(x=c(1,2,3,1),y=c(1,4,5,1)) Error in .Internal(polygon(xy$x, xy$y, col, border, lty, ...)) : there is no .Internal function 'polygon' That annoys me because polygon is actually call