Re: [R] conflict within packages

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue, 12 Feb 2008 16:49:21 -0500

On 12/02/2008 4:33 PM, Elizabeth Purdom wrote:

> Hi,
> My problem is more that the packages use the function internally, so 
> they get the wrong function. Should that not be happening?

The package authors should use a NAMESPACE file to avoid exactly this problem. You could contact the maintainers and suggest it.

Duncan Murdoch

> Best,
> Elizabeth
> 
> jim holtman wrote:

>> you can use:
>>
>> package::getNames()
>>
>> to reference the one that you want.
>>
>> On Feb 12, 2008 3:45 PM, Elizabeth Purdom <epurdom_at_gmail.com
>> <mailto:epurdom_at_gmail.com>> wrote:
>>
>> Hi,
>> I am trying to use two contributed packages, both of which have a
>> function 'getNames'. So if I load them both they obviously conflict.
>> Currently I manually detach one package and then reload the other
>> to be
>> able to use one function right after another. Is there anything else I
>> can do?
>> Best,
>> Elizabeth
>>
>> ______________________________________________
>> R-help_at_r-project.org <mailto: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
>> <http://www.r-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
>>
>> --
>> Jim Holtman
>> Cincinnati, OH
>> +1 513 646 9390
>>
>> What is the problem you are trying to solve?
> 
> ______________________________________________
> 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 Tue 12 Feb 2008 - 21:57:53 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 Tue 12 Feb 2008 - 23:30:13 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