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

2006-02-06 Thread Sophie Ancelet
de. > >You don't want to call rndstart and rndend around every call, only before >the first and after the last. > >This is not the list for advice om mixed Fortran/C programming, though. >On Fri, 20 Jan 2006, Sophie Ancelet wrote: > >> >> Hi, >> >>

Re: [Rd] Troubles with Fortran and C (was with the function rmultinom.c of the R's Random Number Generator)

2006-02-06 Thread Sophie Ancelet
de. > >You don't want to call rndstart and rndend around every call, only before >the first and after the last. > >This is not the list for advice om mixed Fortran/C programming, though. >On Fri, 20 Jan 2006, Sophie Ancelet wrote: > >> >> Hi, >> >>

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

2006-01-20 Thread Sophie Ancelet
R code a second time, an error message appears: Segmentation fault. Has somebody ever used rmultinom.c and encountered these problems? My code must be wrong but I don't know where. In this case, what is the correct way to call the C function rmultinom.c? Thanks in advance, Sophie. Sophie Ance