Skip to content
Prev 10951 / 63424 Next

(PR#4806)

As far as I can see, the code you give passes two integer vectors (x
and y) to a routine out() that accesses the values in the vector as if
they were numeric vectors.  This is an error in the code and not in R.

If test were written as 

  test  = function(x, y) .Call("out", as.numeric(x), as.numeric(y))

the code will work or other problems will be found.


 D.
L.T.Kell@cefas.co.uk wrote:

  
    
Message-ID: <20031027125254.G9466@jessie.research.bell-labs.com>
In-Reply-To: <200310271538.h9RFci0P012105@pubhealth.ku.dk>; from L.T.Kell@cefas.co.uk on Mon, Oct 27, 2003 at 04:38:44PM +0100