Re: [R] Same function name

From: Peter Langfelder <peter.langfelder_at_gmail.com>
Date: Mon, 21 Jun 2010 08:25:13 -0700

package::function

On Mon, Jun 21, 2010 at 6:29 AM, Filoche <pmassicotte_at_hotmail.com> wrote:
>
> Hi everyone.
>
> I want to use 2 different functions (in 2 packages) that have same name. for
> instance, if I call the function, it will use the one in the last called
> package.  Is there a way to specify the package to use for a function?
>
> Something like
>
> Package1:myfunction(...)
> Package2:myfunction(xxx)
>
> With regards,
> Phil
> --
> View this message in context: http://r.789695.n4.nabble.com/Same-function-name-tp2262633p2262633.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 21 Jun 2010 - 15:28:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 Jun 2010 - 15:30:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive