Re: [R] Please help me in Converting this from C# to R [C1]

2008-12-13 Thread Dieter Menne
Taoufik NADIFI sgcib.com> writes: > > Please, can you tell me if you know how can i use the library Igraph in C# > ? Not easy, but possible. Try to google for "rcom c#" and watch the list http://www.mail-archive.com/rco...@mailman.csd.univie.ac.at/ where some problems with more the latest R

Re: [R] Please help me in Converting this from C# to R [C1]

2008-12-12 Thread Taoufik NADIFI
Please, can you tell me if you know how can i use the library Igraph in C# ? Thanks Nadifi Taoufik * This message and any attachments (the "message") are con...{{dropped:15}} __ R-

Re: [R] Please help me in Converting this from C# to R

2008-09-14 Thread Simon Knapp
# bit hard to provide a simple conversion without definitions of the class 'Node', the template 'DirectedGraph' and the function 'Writed'! # I've used the package 'igraph' as a drop in - hope it is still clear. # # by the way: # - your curly braces don't match, # - not all elements of P are initial

Re: [R] Please help me in Converting this from C# to R

2008-09-14 Thread Barry Rowlingson
2008/9/14 rajivv <[EMAIL PROTECTED]>: > > Random r = new Random(); >DirectedGraph graph = GetGraph(); >decimal B = 0.1m; >decimal D = 0.05m; [ deletia ] >if (P[i] < 0) >P[i] = 0; >

[R] Please help me in Converting this from C# to R

2008-09-13 Thread rajivv
Random r = new Random(); DirectedGraph graph = GetGraph(); decimal B = 0.1m; decimal D = 0.05m; int nodes = graph.NodesCount; decimal[] E = new decimal[nodes]; decimal[] P = new decimal[nodes];