On Friday 20 May 2005 10:05 am, Wladimir Eremeev wrote:
> Dear Deepayan,
>
> I suggest something like
>
> pointsGrob(
> x=if(key$divide>1){(1:key$divide-1)/(key$divide-1)} else 0.5,
> [blah-blah-blah]
> )
>
> This looks like your 3rd variant.
>
> However, I haven't try very hard to verify my solution.
>
> I tried to redefine the entire function draw.key in my working environment,
> but this didn't work.
>
> I use R 2.1.0 on windows 2000, packages are precompiled binaries.
> Am I right in thinking, that despite the presence of my function
> draw.key, xyplot used the function, defined in the package?
Yes. It has to do with namespaces. Try ?assignInNamespace
Deepayan
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html