Skip to content
Back to formatted view

Raw Message

Message-ID: <49AB99BB.2060404@statistik.tu-dortmund.de>
Date: 2009-03-02T08:32:59Z
From: Uwe Ligges
Subject: Modifying a built-in R function
In-Reply-To: <22278950.post@talk.nabble.com>

japal wrote:
> Hello,
> 
> Something incredible (at least for me) has happen. Yesterday night I
> downloaded biplot.R to edit this function and add new features I wished.
> Namely I wanted to plot points belonging to different groups using different
> colors and symbols. I identified which part of the original code I had to
> modify. Then, I rename biplot by biplotes and executing biplotes(x), being x
> a princomp class object, the function did what I wanted.
> 
> The problem is that today I type exactly the same (after sourcing my script
> file incluiding biplotes) but  biplotes(x) execute the original biplot
> function. Also, if I invoke any of the new arguments I wrote in the code
> then multiple warnings messages are displayed. I don't understand what is
> the problem. Yesterday it works perfectly. Why R does not execute my code
> and call the original biplot function?
> 
> Thanks in advance,
> Javier.


Can you send us your modified version and the way you called it (as the 
posting guide asks you to do)? Otherwise we cannot know.

Uwe Ligges