[R] issue with graph package in using RBGL -‘'graph' is not a valid installed package’"

2011-05-11 Thread joe j
Dear all, I am trying to run the function "lambdaSets" using the package "RBGL". This package uses another package "graph" which has been removed from the CRAN repository, but is available at the archive (http://cran.r-project.org/src/contrib/Archive/graph/). I installed the package from the R me

Re: [R] issue with graph package in using RBGL -‘'graph' is not a valid installed package’"

2011-05-11 Thread joe j
Thank you very much Dan, Uwe and Duncan. First suggestion by Dan itself worked so I didn't have to try the other ones. But those suggestions and comments are of much value and are appreciated. Regards, Joe On Wed, May 11, 2011 at 7:14 PM, Duncan Murdoch wrote: > On 11/05/2011 10:51 A

[R] matrix into vector with vertex names

2011-08-05 Thread joe j
Using Igraph, I create shortest paths, then convert the matrix into three column vectors - "vertex1", "vertex2", "shortestpath" - as the code below shows. #code for generating shortest path matrix and creating a 3 columns from an igraph graph object "y" y_s<-shortest.paths(y, weights = NULL) y_s

Re: [R] matrix into vector with vertex names

2011-08-24 Thread joe j
as good, indexing is just as fast, and takes the same > amount of memory as your three column matrix, doesn't it? > > Gabor > > On Fri, Aug 5, 2011 at 10:40 AM, joe j wrote: >> Using Igraph, I create shortest paths, then convert the matrix into >> three colum