Also here
http://igraph.sourceforge.net/igraphbook/igraphbook-iterators.html#id2530580



On Thu, May 9, 2013 at 1:13 PM, ash nix <[email protected]> wrote:

> Thanks for the update.
>  I found the wrong info here  http://igraph.wikidot.com/r-traps
>
>
>
>
> On Thu, May 9, 2013 at 12:00 PM, <[email protected]> wrote:
>
>> Send igraph-help mailing list submissions to
>>         [email protected]
>>
>> 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
>>         [email protected]
>>
>> You can reach the person managing the list at
>>         [email protected]
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of igraph-help digest..."
>>
>>
>> Today's Topics:
>>
>>    1. igraph vertex index (ash nix)
>>    2. Re: igraph vertex index (G?bor Cs?rdi)
>>    3. Re: igraph vertex index (Szabolcs Horv?t)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 9 May 2013 11:41:02 -0400
>> From: ash nix <[email protected]>
>> To: [email protected]
>> Subject: [igraph] igraph vertex index
>> Message-ID:
>>         <
>> calde+61rn3hvwxjd1zjzkuqau75y6d-zbry-vfrg3-esrp5...@mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi,
>>
>> I am new to igraph and confused about the starting index for vertex.
>> Many documentation says that starting index for vertex in R is 0.
>> But on R I get the starting index as 1.
>>
>> Please following
>>
>> > V(kap)[0]
>> Vertex sequence:
>> character(0)
>> > V(kap)[1]
>> Vertex sequence:
>> [1] "moskowitz"
>>
>> --
>> Thanks,
>> A
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.nongnu.org/archive/html/igraph-help/attachments/20130509/e6acac3d/attachment.html
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 9 May 2013 11:43:31 -0400
>> From: G?bor Cs?rdi <[email protected]>
>> To: Help for igraph users <[email protected]>
>> Subject: Re: [igraph] igraph vertex index
>> Message-ID:
>>         <CABtg=K=9x8g-TMJ0kC9FmfZDTsfscOw=tH=
>> [email protected]>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> On Thu, May 9, 2013 at 11:41 AM, ash nix <[email protected]> wrote:
>>
>> > Hi,
>> >
>> > I am new to igraph and confused about the starting index for vertex.
>> > Many documentation says that starting index for vertex in R is 0.
>> >
>>
>> Where? These are outdated or wrong. See e.g. ?igraph.
>>
>> Gabor
>>
>>
>> > But on R I get the starting index as 1.
>> >
>>
>> > Please following
>> >
>> > > V(kap)[0]
>> > Vertex sequence:
>> > character(0)
>> > > V(kap)[1]
>> > Vertex sequence:
>> > [1] "moskowitz"
>> >
>> > --
>> > Thanks,
>> > A
>> >
>> > _______________________________________________
>> > igraph-help mailing list
>> > [email protected]
>> > https://lists.nongnu.org/mailman/listinfo/igraph-help
>> >
>> >
>>
>>
>> --
>> Gabor Csardi <[email protected]>     MTA KFKI RMKI
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.nongnu.org/archive/html/igraph-help/attachments/20130509/6e0cb705/attachment.html
>> >
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 9 May 2013 11:44:10 -0400
>> From: Szabolcs Horv?t <[email protected]>
>> To: Help for igraph users <[email protected]>
>> Subject: Re: [igraph] igraph vertex index
>> Message-ID:
>>         <CAJDnrnq4cWcj_Bbd8t_=
>> [email protected]>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi,
>>
>> The starting index in R should be 1, not 0.  This corresponds to R's
>> 1-based array indexing.
>>
>> There are some functions which will sometimes (incorrectly) return 0-based
>> indices, see e.g. here:
>>
>> http://lists.nongnu.org/archive/html/igraph-help/2013-05/msg00002.html
>>
>>
>>
>>
>> On 9 May 2013 11:41, ash nix <[email protected]> wrote:
>>
>> > Hi,
>> >
>> > I am new to igraph and confused about the starting index for vertex.
>> > Many documentation says that starting index for vertex in R is 0.
>> > But on R I get the starting index as 1.
>> >
>> > Please following
>> >
>> > > V(kap)[0]
>> > Vertex sequence:
>> > character(0)
>> > > V(kap)[1]
>> > Vertex sequence:
>> > [1] "moskowitz"
>> >
>> > --
>> > Thanks,
>> > A
>> >
>> > _______________________________________________
>> > igraph-help mailing list
>> > [email protected]
>> > https://lists.nongnu.org/mailman/listinfo/igraph-help
>> >
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.nongnu.org/archive/html/igraph-help/attachments/20130509/8308ea8d/attachment.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> igraph-help mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>>
>> End of igraph-help Digest, Vol 82, Issue 8
>> ******************************************
>>
>
>
>
> --
> Thanks,
> A
>



-- 
Thanks,
A
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to