Skip to content

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

1 message · 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 arguments. Has somebody ever
written a wrapper for this function?

Thanks in advance,
Sophie.
At 17:06 20/01/06 +0000, Prof Brian Ripley wrote: