Re: [Rd] Troubles with the function rmultinom.c of the R's Random Number Generator

2006-02-06 Thread Hin-Tak Leung
Sophie Ancelet wrote: > Thank you for the answer. However, I sought in Doc. Writing R > extensions, in particular in the paragraph 5.6 "Calling C from FORTRAN > and vice versa" (page 67) but I did not find anything which could help me to > correct my code. Indeed, rmultinom.c is a particular functi

Re: [Rd] Troubles with the function rmultinom.c of the R's Random Number Generator

2006-02-06 Thread Sophie Ancelet
Thank you for the answer. However, I sought in Doc. Writing R extensions, in particular in the paragraph 5.6 "Calling C from FORTRAN and vice versa" (page 67) but I did not find anything which could help me to correct my code. Indeed, rmultinom.c is a particular function since arrays are passed in

[Rd] Troubles with the function rmultinom.c of the R's Random Number Generator

2006-01-20 Thread Sophie Ancelet
Hi, I'm simulating a Markov chain in Fortran interfaced with R-2.2.1 in order to generate data according to a Markov Random Field called the Potts model. R Version: platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major2 minor2.1 year 2005