[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] beginner's help on igraph in R
From: |
Lin Freeman |
Subject: |
Re: [igraph] beginner's help on igraph in R |
Date: |
Fri, 26 Sep 2008 07:17:34 -0700 |
Gabor,
No, that's not it. I've never entered any extra characters.
Lin
On Fri, Sep 26, 2008 at 6:49 AM, Gábor Csárdi <address@hidden> wrote:
> Lin, I think I got it, finally. In the "Create by hand" table you're
> expected to write the vertices into two separate columns, i.e. one
> below 'from' and the other below 'to', without any commas, like this:
>
> from | to
> ------------------
> 0 | 1
> 1 | 2
> ...
>
> or you can use symbolic names here as well, e.g.
>
> from | to
> --------------------
> Alice | Bob
> Bob | Cecil
> ....
>
> just remember not to separate the vertices by commas or anything, and
> type them into distinct cells.
> Here is another example (the columns have different names, but the
> principle is the same):
> http://cneurocvs.rmki.kfki.hu/igraphbook/editform2.png
>
> Does this solve your problem?
>
> Thanks for the report, igraph should not crash anyway, no matter what
> you type into the cells, so this is definitely a bug, and at least
> I've updated the socnet.R script to the new igraph version.
>
> Best,
> Gabor
>
> On Fri, Sep 26, 2008 at 3:12 PM, Lin Freeman <address@hidden> wrote:
>> Sorry. Here It is:
>>
>>> library(igraph)
>>> sessionInfo()
>> R version 2.7.2 (2008-08-25)
>> i486-pc-linux-gnu
>>
>> locale:
>> LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=C;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C
>>
>> attached base packages:
>> [1] stats graphics grDevices utils datasets methods base
>>
>> other attached packages:
>> [1] igraph_0.5.1
>>>
>>
>>
>>
>>
>> On Fri, Sep 26, 2008 at 6:06 AM, Gábor Csárdi <address@hidden> wrote:
>>> Lin, it is sessionInfo() with capital `I', R is case sensitive.
>>> You don't need to load 'socnet.R', just load 'igraph' and run
>>> 'sessionInfo()' please.
>>>
>>> Thanks. G.
>>>
>>> On Fri, Sep 26, 2008 at 3:03 PM, Lin Freeman <address@hidden> wrote:
>>>> As you will see, my igraph can't find "sessioninfo()." But I did take
>>>> its advice and list all of the warnings. It is listed below. This was
>>>> after I loaded igraph, socnet.R, a little bit of data and checked OK
>>>> on the "Creating a graph bu hand" window. Incidentially, after the
>>>> attempt to "Draw > Simple" my console window ceases to echo any typed
>>>> letters on the screen.
>>>>
>>>> Thank again,
>>>> Lin
>>>>
>>>> address@hidden:~$ R
>>>>
>>>> R version 2.7.2 (2008-08-25)
>>>> Copyright (C) 2008 The R Foundation for Statistical Computing
>>>> ISBN 3-900051-07-0
>>>>
>>>> R is free software and comes with ABSOLUTELY NO WARRANTY.
>>>> You are welcome to redistribute it under certain conditions.
>>>> Type 'license()' or 'licence()' for distribution details.
>>>>
>>>> Natural language support but running in an English locale
>>>>
>>>> R is a collaborative project with many contributors.
>>>> Type 'contributors()' for more information and
>>>> 'citation()' on how to cite R or R packages in publications.
>>>>
>>>> Type 'demo()' for some demos, 'help()' for on-line help, or
>>>> 'help.start()' for an HTML browser interface to help.
>>>> Type 'q()' to quit R.
>>>>
>>>>> library(igraph)
>>>>> source("GUI.R")
>>>> Loading required package: tcltk
>>>> Loading Tcl/Tk interface ... done
>>>>> sessioninfo()
>>>> Error: could not find function "sessioninfo"
>>>> In addition: There were 18 warnings (use warnings() to see them)
>>>>> warnings()
>>>> Warning messages:
>>>> 1: In edit.data.frame(data.frame(list(from = character(), ... :
>>>> added factor levels in 'from'
>>>> 2: In edit.data.frame(data.frame(list(from = character(), ... :
>>>> added factor levels in 'to'
>>>> 3: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 4: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 5: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 6: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 7: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 8: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 9: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 10: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 11: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 12: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 13: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 14: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 15: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 16: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 17: X11 protocol error: BadWindow (invalid Window parameter)
>>>> 18: X11 protocol error: BadWindow (invalid Window parameter)
>>>>
>>>>
>>>> On Fri, Sep 26, 2008 at 1:18 AM, Gábor Csárdi <address@hidden> wrote:
>>>>> Frankly, I've no idea what could happen here. I just tried both the
>>>>> new and the old versions of 'socnet.R' and both work fine in this case
>>>>> (the old version fails to do some more sophisticated things, but that
>>>>> is a separate problem).
>>>>>
>>>>> Could you send me the output of the sessionInfo() function, after
>>>>> you've loaded igraph?
>>>>>
>>>>> Thanks,
>>>>> Gabor
>>>>>
>>>>> On Thu, Sep 25, 2008 at 5:29 PM, Lin Freeman <address@hidden> wrote:
>>>>>> First, let me thank you for responding and for changing the script so
>>>>>> quickly. My problem, however, remains. I am using version 0.5.1 of
>>>>>> igraph and I upgraded from R 2.6.2. to 2.7.2. Nevertheless, when I go
>>>>>> through the same routine,
>>>>>>> library(igraph)
>>>>>>> source("GUI.R")
>>>>> [...]
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> igraph-help mailing list
>>>>> address@hidden
>>>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>>>
>>>>> --
>>>>> This message has been scanned for viruses and
>>>>> dangerous content by MailScanner, and is
>>>>> believed to be clean.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Linton C. Freeman
>>>> Institute for Mathematical Behavioral Sciences and
>>>> Department of Sociology
>>>> School of Social Sciences SSPA 2143
>>>> University of California
>>>> Irvine, CA 92697-5100
>>>>
>>>> Office: (949) 824-6698
>>>> Home (CA): (949) 494-6139
>>>> (FL): (941) 778-1074
>>>> Secretary: (949) 824-3663
>>>> FAX: (949) 824-3733
>>>>
>>>>
>>>> _______________________________________________
>>>> igraph-help mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>>
>>>
>>>
>>> _______________________________________________
>>> igraph-help mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>>
>>>
>>
>>
>>
>> --
>> Linton C. Freeman
>> Institute for Mathematical Behavioral Sciences and
>> Department of Sociology
>> School of Social Sciences SSPA 2143
>> University of California
>> Irvine, CA 92697-5100
>>
>> Office: (949) 824-6698
>> Home (CA): (949) 494-6139
>> (FL): (941) 778-1074
>> Secretary: (949) 824-3663
>> FAX: (949) 824-3733
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
Linton C. Freeman
Institute for Mathematical Behavioral Sciences and
Department of Sociology
School of Social Sciences SSPA 2143
University of California
Irvine, CA 92697-5100
Office: (949) 824-6698
Home (CA): (949) 494-6139
(FL): (941) 778-1074
Secretary: (949) 824-3663
FAX: (949) 824-3733
- Re: [igraph] beginner's help on igraph in R, (continued)
- Re: [igraph] beginner's help on igraph in R, Lin Freeman, 2008/09/23
- Re: [igraph] beginner's help on igraph in R, Csardi Gabor, 2008/09/23
- Re: [igraph] beginner's help on igraph in R, Gabor Csardi, 2008/09/25
- Re: [igraph] beginner's help on igraph in R, Lin Freeman, 2008/09/25
- Re: [igraph] beginner's help on igraph in R, Gábor Csárdi, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Gábor Csárdi, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Lin Freeman, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Gábor Csárdi, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Lin Freeman, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Gábor Csárdi, 2008/09/26
- Re: [igraph] beginner's help on igraph in R,
Lin Freeman <=
- Re: [igraph] beginner's help on igraph in R, Gábor Csárdi, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Lin Freeman, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Gábor Csárdi, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Lin Freeman, 2008/09/26
- Re: [igraph] beginner's help on igraph in R, Gábor Csárdi, 2008/09/26