[R] Two functions with the same name
Petr Pikal
petr.pikal at precheza.cz
Wed May 24 14:49:26 CEST 2006
Hi
you probably created the second function in .Global Environment e.g.
directly in console.
see
ls()
and look for the name of the function. If it is there the only way I
know about is to remove the function from environment by
rm(name.of.the.function)
then the masked function shall by usable again provided that you did
not detached the package.
Probably there is some way through environment() but I never used it
and therefore I can not help you other way than to encourage to read
its help page.
HTH
Petr
On 24 May 2006 at 14:33, Ana Conesa wrote:
To: "Petr Pikal" <petr.pikal at precheza.cz>
From: Ana Conesa <aconesa at ivia.es>
Subject: Re: [R] Two functions with the same name
>
> At 14:04 24/05/2006, you wrote:
> Function written or loaded last will mask a function written or
> loaded before.
>
>
> Petr,
> Thanks for your answer. I know that. What I was asking is the way to
> go back to the function loaded in the first place, since I need it
> again. Re-loading the first package does not work for me.
>
> Ana
>
>
>
> HTH
> Petr
>
> > PLEASE do read the posting guide!
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
> On 24 May 2006 at 13:47, Ana Conesa wrote:
>
> Date sent:Wed, 24 May 2006 13:47:09 +0200
> To: r-help at stat.math.ethz.ch
> From:Ana Conesa <aconesa at ivia.es>
> Subject:[R] Two functions with the same name
>
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html
>
> Petr Pikal
> petr.pikal at precheza.cz
>
>
> O @@@@@ Ana Conesa, PhD.
> @@@ O @@ O @ Centro de Genómica
> @ O @@@@ O @ Instituto Valenciano de Investigaciones Agrarias (IVIA)
> @@@ O @@@@ Carretera Moncada - Naquera, Km. 4,5 @@@@ O @ 46113 Moncada
> (Valencia) SPAIN || Tel. +34 963424000 ext.70161; Fax. +34 963424001
> || email: aconesa at ivia.es
>
>
Petr Pikal
petr.pikal at precheza.cz
More information about the R-help
mailing list