[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] namespace class with Rgraphviz for "degree"

From: Gabor Csardi
Subject: Re: [igraph] namespace class with Rgraphviz for "degree"
Date: Thu, 6 Mar 2008 16:58:50 +0100
User-agent: Mutt/1.5.13 (2006-08-11)


On Thu, Mar 06, 2008 at 10:48:25AM -0500, Mark W Kimpel wrote:
> For the first time I have had igraph and Rgraphviz loaded at the same 
> time, and a previously trouble free function of mine that uses Rgraphviz 
> has blown up. The problem seems to be that "degree" is used by both 
> Rgraphviz and igraph. Can this be solved using namespaces?

'degree' is not in Rgraphviz but in package 'graph', Rgraphviz depends
on 'graph'. One solution is to load igraph first, graph (Rgraphviz) 
second, then 'degree' will be graphs'. Another one is to be 
explicit: write 'graph::degree' or 'igraph::degree'.

> Also, I was unsure if I should cross-post this on R-help. The R-helpers 
> don't like cross-listing to other R lists, but this does involve another 
> R package. What should be the etiquette?

I think this is rather an R question than an igraph question.
R experts may come up with other, better solutions if you're not
satisfied with my proposals.

In general, noone likes crossposting, so i think it is best to go for one
list first and then if there is no good answer within some 
reasonable time, then go for a different one. But it has been a while
since i read the netiquette.


Csardi Gabor <address@hidden>    UNIL DGM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]