igraph-help
[Top][All Lists]
Advanced

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

[igraph] Re: Hello


From: Gábor Csárdi
Subject: [igraph] Re: Hello
Date: Thu, 12 Feb 2009 23:38:34 +0100

On Thu, Feb 12, 2009 at 10:49 PM, Walk to Sun <address@hidden> wrote:
[...]
> 1. The Fruchterman-Reingold layout algorithm
>
>> library(igraph)
>
>> library(Cairo)
>
>> source("frgraphs.R")
>
> Error in source("frgraphs.R") :
>
>   frgraphs.R: unexpected symbol at

There was an error in this file, I have corrected it, please download it again.

[...]
> 2. The tkplot editor of the R package
>
>> coords <- tkplot.getcoords(7)

Here instead of '7', you have to write the id of your active tkplot
window. It is written in its header.

> 3. Components of an Erdős-Rényi random graph
>
>> from igraph import *

This is not R, this is Python, another programming language.

> 4: Kautz graph and its adjacency matrix
>
>> g = Graph.Erdos_Renyi(n=300, m=250)

This is Python, too.

G.

[...]

-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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