
From:  Paris Chan 
Subject:  [igraph] Something wrong with frgraphs function 
Date:  Tue, 23 Oct 2012 15:34:20 +0800 
Hi,I ask for help about frgraphs() function as below,I use R to test. > frgraphs < function() { + graphs < list() + graphs[[1]] < graph.full(5) + graphs[[2]] < graph.full(4) + graphs[[3]] < graph.full(6) + graphs[[4]] < graph.full(6) + graphs[[5]] < graph.full(8) + graphs[[6]] < graph.full(2) + graphs[[7]] < graph.formula( ABCDA, AF, BG, CH, DI ) + graphs[[8]] < graph.formula( ABCA, DEFD, AD ) + graphs[[9]] < graph.ring(5) + graphs[[10]] < graph.formula( ABCA, BDEB, CEFC, + DGHD, EHIE, FIJF ) + graphs[[11]] < graph.formula( ABCDA, AC, BD, + AEFGA, AF, EG, + BHIJB, BI, HJ, + CKLMC, CL, KM, + DNOPD, DO, NP ) + graphs[[12]] < graph.formula( ABCDFEA, AD, EC, BF) + graphs[[13]] < graph.formula( AB:D:H, BF:G, CD:E:I, DF, EF:L, FG:I:J:M, + GN, HK:L, IK, JM:N, KM, LN ) + graphs[[14]] < simplify(graph.formula( AB:H:L, BA:C:K, CB:D:M, DC:E:L:M:N, + ED:F:G, FE:I:L, GE:H:N, HA:G:J, + IF:J:K, JH:I:M, KB:I:N, LA:D:F, + MC:D:J, ND:G:K )) + graphs[[15]] < graph.formula( ABCDEFGHIA, + JE:A:F, KA:F:B, LF:B:G, MB:G:C, NG:C:H, + OC:H:D, PH:D:I, QD:I:E, RI:E:A ) + graphs[[16]] < graph.formula( 01:4:8:11:15:19:22, 10:2:6:24, 21:3:5:23:29:30, + 32, 40:5, 52:4:6:9, 61:5:8:31:7:30, 76:30:31, + 80:6:9:13, 95:8:12:32:10:31, 109, 110:12, + 129:11:26:13, 138:12:27:33:14:32, 1413:32:33, + 150:16, 1615:20:17:26, 1716:19:35:18:34:27, + 1817:34:35, 190:24:20:17, 2019:23:36:21:35:16, + 2120, 220:23, 2322:2:24:20, 2423:1:29:25:36:19, + 2524:29:36, 2616:12:33:27:34, 2726:13:28:17, + 2827, 292:24:25, 302:6:7, 316:7:9, + 329:13:14, 3313:14:26, 3426:17:18, 3517:18:20, + 3620:24:25 ) + graphs[[16]] < simplify(graphs[[16]]) + return graphs Error: unexpected sign in " graphs[[16]] < simplify(graphs[[16]]) return graphs" > } Error: unexpected '}' in "}" Thank you and I am looking forward from you. Best Paris 
[Prev in Thread]  Current Thread  [Next in Thread] 