igraph-help
[Top][All Lists]
Advanced

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

[igraph] dependency on printr ???


From: Glenn Lawyer
Subject: [igraph] dependency on printr ???
Date: Tue, 09 Dec 2014 18:41:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.8.1

Hi,

Running into a funny dependency problem with installing the R interface of the devel branch.

cd interfaces/R
make

yada yada.. everything is ok.

Then:
R :)R CMD INSTALL -l ~/.Rpackages/ igraph_0.7.999-295.tar.gz
ERROR: dependency 'printr' is not available for package 'igraph'

Which is odd, because I can't find the package "printr" on cran?

Probably something to to with the git clean fdx / git pull I ran earlier today, since the builds installed just fine this morning.

+glenn





On 12/09/2014 06:01 PM, address@hidden wrote:
Send igraph-help mailing list submissions to
	address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.nongnu.org/mailman/listinfo/igraph-help
or, via email, send a message with subject or body 'help' to
	address@hidden

You can reach the person managing the list at
	address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of igraph-help digest..."


Today's Topics:

   1.  : compared using membership (patricia)
   2. Re: : compared using membership (G?bor Cs?rdi)
   3.  : compare membership (patricia)


----------------------------------------------------------------------

Message: 1
Date: Tue, 9 Dec 2014 05:45:42 +0300
From: patricia <address@hidden>
To: Help Igraph <address@hidden>
Subject: [igraph]  : compared using membership
Message-ID: <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Hello
I wonder how do I compare the elements in the membership vector; I am using the following syntax: membership (communities) [i] == membership (communities) [j]; but the following error occurs:
Error in if (membership (communities) [i] == membership (communities) [j]) {:missing value where TRUE / FALSE needed

Thank you 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20141209/ead1a3c4/attachment.html>

------------------------------

Message: 2
Date: Mon, 8 Dec 2014 21:49:03 -0500
From: G?bor Cs?rdi <address@hidden>
To: Help for igraph users <address@hidden>
Subject: Re: [igraph] : compared using membership
Message-ID:
	<address@hidden>
Content-Type: text/plain; charset=UTF-8

As always, unless you send us a complete reproducible example, we
can't help you.

Gabor

On Mon, Dec 8, 2014 at 9:45 PM, patricia <address@hidden> wrote:
Hello

I wonder how do I compare the elements in the membership vector; I am using
the following syntax: membership (communities) [i] == membership
(communities) [j]; but the following error occurs:

Error in if (membership (communities) [i] == membership (communities) [j])
{:
missing value where TRUE / FALSE needed


Thank you

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



------------------------------

Message: 3
Date: Tue, 9 Dec 2014 07:37:03 +0300
From: patricia <address@hidden>
To: Help Igraph <address@hidden>
Subject: [igraph]  : compare membership
Message-ID: <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

follows function : 
EdgesBetweenClusters <- function(graph, numTrials, numberVertices){  require(igraph);  communities <- infomap.community(graph, v.weights = NULL, modularity = TRUE, nb.trials = numTrials);     for(i in 1:numberVertices-1)  {    for(j in i+1:numberVertices)    {      if(membership(communities)[i] == membership(communities)[j])      {        edgesintracluster <- edgesintracluster + 1;      }       else      {        edgesintercluster <- edgesintercluster + 1;      }    }  }   return(edgesintercluster);} 
=> attached the following file in xml format 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20141209/1bd77ec6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Iris.xml
Type: application/xml
Size: 302343 bytes
Desc: not available
URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20141209/1bd77ec6/attachment.xml>

------------------------------

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


End of igraph-help Digest, Vol 101, Issue 6
*******************************************

-- 
--------------------------------------------------------------
     Dr. Glenn Lawyer                    
     +352 661 967 244              
     Max-Planck-Institut für Informatik
     Computational Biology and Applied Algorithmics
     Campus E1 4
     66123 Saarbrücken, Germany
     http://bioinf.mpi-inf.mpg.de/~lawyer


reply via email to

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