Re: [Rd] C function with unknown output length

2007-06-07 Thread Vincent Goulet
Le 07-06-06 à 15:20, Herve Pages a écrit : Vincent Goulet wrote: Hi all, Could anyone point me to one or more examples in the R sources of a C function that is called without knowing in advance what will be the length (say) of the output vector? To make myself clearer, we have a C

[Rd] C function with unknown output length

2007-06-06 Thread Vincent Goulet
Hi all, Could anyone point me to one or more examples in the R sources of a C function that is called without knowing in advance what will be the length (say) of the output vector? To make myself clearer, we have a C function that computes probabilities until their sum gets close enough to

Re: [Rd] C function with unknown output length

2007-06-06 Thread Dirk Eddelbuettel
Salut Vincent, On 6 June 2007 at 13:17, Vincent Goulet wrote: | Could anyone point me to one or more examples in the R sources of a C | function that is called without knowing in advance what will be the | length (say) of the output vector? | | To make myself clearer, we have a C function

Re: [Rd] C function with unknown output length

2007-06-06 Thread Herve Pages
Vincent Goulet wrote: Hi all, Could anyone point me to one or more examples in the R sources of a C function that is called without knowing in advance what will be the length (say) of the output vector? To make myself clearer, we have a C function that computes probabilities until

Re: [Rd] C function with unknown output length

2007-06-06 Thread Bill Dunlap
On Wed, 6 Jun 2007, Vincent Goulet wrote: Could anyone point me to one or more examples in the R sources of a C function that is called without knowing in advance what will be the length (say) of the output vector? To make myself clearer, we have a C function that computes probabilities